{"action":"created","issue":{"url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/252","labels_url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/252/comments","events_url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/252/events","html_url":"https://github.com/VKCOM/vk-ios-sdk/issues/252","id":98140173,"number":252,"title":"Проблема с шарингом через VKActivity","user":{"login":"ct4h","id":11635807,"avatar_url":"https://avatars.githubusercontent.com/u/11635807?v=3","gravatar_id":"","url":"https://api.github.com/users/ct4h","html_url":"https://github.com/ct4h","followers_url":"https://api.github.com/users/ct4h/followers","following_url":"https://api.github.com/users/ct4h/following{/other_user}","gists_url":"https://api.github.com/users/ct4h/gists{/gist_id}","starred_url":"https://api.github.com/users/ct4h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ct4h/subscriptions","organizations_url":"https://api.github.com/users/ct4h/orgs","repos_url":"https://api.github.com/users/ct4h/repos","events_url":"https://api.github.com/users/ct4h/events{/privacy}","received_events_url":"https://api.github.com/users/ct4h/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-07-30T10:54:03Z","updated_at":"2015-11-02T21:17:40Z","closed_at":null,"body":"Для шаринга картинки и текста использую UIActivityViewController и VKActivity. \r\nЕсли приложение vk не установлено, то шаринг работает через Safari.\r\nЕсли приложение vk установлено, при попытки авторизации перенаправляет на пустой экран.\r\n![img_0418](https://cloud.githubusercontent.com/assets/11635807/8981663/e2dc7fea-36c2-11e5-882c-bafe911ac1a5.PNG)\r\n\r\nКод шаринга:\r\n\r\n    [VKSdk initializeWithDelegate:nil andAppId:@\"5011736\"];\r\n    [VKSdk wakeUpSession:@[VK_PER_WALL,VK_PER_PHOTOS]];\r\n    \r\n    UIActivityViewController *shareVC = [[UIActivityViewController alloc] initWithActivityItems:@[shareText,shareImage] applicationActivities:@[[VKActivity new]]];\r\n    [shareVC setValue:@\"VK SDK\" forKey:@\"subject\"];\r\n    [self presentViewController:shareVC animated:YES completion:nil];\r\n"},"comment":{"url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/comments/153159091","html_url":"https://github.com/VKCOM/vk-ios-sdk/issues/252#issuecomment-153159091","issue_url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/252","id":153159091,"user":{"login":"Dreddik","id":1570382,"avatar_url":"https://avatars.githubusercontent.com/u/1570382?v=3","gravatar_id":"","url":"https://api.github.com/users/Dreddik","html_url":"https://github.com/Dreddik","followers_url":"https://api.github.com/users/Dreddik/followers","following_url":"https://api.github.com/users/Dreddik/following{/other_user}","gists_url":"https://api.github.com/users/Dreddik/gists{/gist_id}","starred_url":"https://api.github.com/users/Dreddik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dreddik/subscriptions","organizations_url":"https://api.github.com/users/Dreddik/orgs","repos_url":"https://api.github.com/users/Dreddik/repos","events_url":"https://api.github.com/users/Dreddik/events{/privacy}","received_events_url":"https://api.github.com/users/Dreddik/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T21:17:39Z","updated_at":"2015-11-02T21:17:39Z","body":"@ItsTipTop к сожалению, сразу не предусмотрели, будет поддержано в версии 2.5 VK App"}}