Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 719 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 719 Bytes

VKActivity

iOS 6 style sharing for Vkontakte

Смотрите пример в TestViewController:

NSArray *items = @[[UIImage imageNamed:@"example.jpg"], @«Example», [NSURL URLWithString:@"https://www.youtube.com/watch?v=S59fDUZIuKY"]];
VKontakteActivity *vkontakteActivity = [[VKontakteActivity alloc] initWithParent:self];

UIActivityViewController *activityViewController = [[UIActivityViewController alloc]
                                                    initWithActivityItems:items
                                                    applicationActivities:@[vkontakteActivity]];

[self presentViewController:activityViewController animated:YES completion:nil];