{"action":"opened","issue":{"url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/379","repository_url":"https://api.github.com/repos/VKCOM/vk-ios-sdk","labels_url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/379/comments","events_url":"https://api.github.com/repos/VKCOM/vk-ios-sdk/issues/379/events","html_url":"https://github.com/VKCOM/vk-ios-sdk/issues/379","id":140942662,"number":379,"title":"Баг VKShareDialogController - не прикрепляет фото, если нет .shareLink","user":{"login":"archiewahwah","id":16287167,"avatar_url":"https://avatars.githubusercontent.com/u/16287167?v=3","gravatar_id":"","url":"https://api.github.com/users/archiewahwah","html_url":"https://github.com/archiewahwah","followers_url":"https://api.github.com/users/archiewahwah/followers","following_url":"https://api.github.com/users/archiewahwah/following{/other_user}","gists_url":"https://api.github.com/users/archiewahwah/gists{/gist_id}","starred_url":"https://api.github.com/users/archiewahwah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archiewahwah/subscriptions","organizations_url":"https://api.github.com/users/archiewahwah/orgs","repos_url":"https://api.github.com/users/archiewahwah/repos","events_url":"https://api.github.com/users/archiewahwah/events{/privacy}","received_events_url":"https://api.github.com/users/archiewahwah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-15T11:21:41Z","updated_at":"2016-03-15T11:21:41Z","closed_at":null,"body":"Если у VKShareDialogController() не проперти .shareLink, то фотка, прикрепленная через uploadImages, не показывается в окне шаринга \r\n\r\nВот такой код показывает в шаринге только текст\r\n\r\n            var imgArray = [AnyObject]()\r\n            let share = VKShareDialogController()\r\n            share.text = \"Введите текст...\"\r\n            let img = VKUploadImage(image:self.i, andParams: nil)\r\n            imgArray.append(img)\r\n            share.uploadImages = imgArray\r\n\r\nПриходится делать вот так\r\n\r\n            var imgArray = [AnyObject]()\r\n            let share = VKShareDialogController()\r\n            share.text = \"Введите текст...\"\r\n            let img = VKUploadImage(image:self.i, andParams: nil)\r\n            imgArray.append(img)\r\n            let link = NSURL(string: \"\")\r\n            share.shareLink = VKShareLink(title: nil, link: link)\r\n            share.uploadImages = imgArray"}}