objective c - UIActivityViewControllerCompletionHandler How to?

objective c - UIActivityViewControllerCompletionHandler How to?

I am trying to use the UIActivityViewControllerCompletionHandler,but i dont quite get how.. I want to detect when the user finishes or dismisses this view controller(UIActivityViewController). An…


objective c - Compose UIActivityTypeMessage with UIImage

Was wandering if anyone can offer some insight. For the life of me I can't figure out how to send a UIImage with UIActivityTypeMessage all though some say it is possible. The docs say: http://develope…


objective c - Different data for sharing providers in UIActivityViewController

I'm trying to use an UIActivityViewController with one long NSString as the data. If I put a string>140 characters, the tweet sheet in it does not display the string. And if I truncate the string be…


ios - UIActivityViewController taking long time to present

I made an app for iPhone. Now, I'm recreating it for iPad. When the user selects the action button in the toolbar, a popover should show with a UIActivityViewController, but for some reason, it's taki…


objective c - How to send a PDF file using UIActivityViewController

I'm trying to send a PDF using a UIActivityViewController. So far everything works fine using a fairly basic approach but the one issue I have is that when I select the send by mail option, the PDF's…


iphone - UIActivityViewController in iOS 7

In my app i have added these lines of codes to incorporate the functionality of uiactivityviewcontroller UIImage*yourImage=someImg; UIActivityViewController*activityVC=[[UIActivityViewCo…


ios - How can I add a ActivityItem to upper activity bar in UIActivityViewController?

I like to add my own WhatsApp ActivityItem to the UIActivityViewController, but it is always added to the lower non colored activity bar, but I like to add it to the upper bar, the one with the colore…



ios - UIActivityViewController UIActivityViewControllerCompletionWithItemsHandler

List item Using Swift for an app that runs in iOS 8, I need to write a completion handler for the UIActivityViewController to capture the results of which "share" method a user selected. This is a s…


ios - Can't share to linkedin using UIActivityViewController

I can't share anything via linkedin using UIActivityViewController. While I tap share via linkedin, it opens the sharing pop up and dismisses immediately after opened it. All other sharing are working…


Sharing Video PHAsset via UIActivityController

I am trying to share video PHAsset via UIActivityController using requestAVAsset. This works with Messaging, but not with AirDrop, indicating as 'Failed'. PHCachingImageManager.default().requestAVAss…




swift completionwithitemshandler share activityitems objective example delegate url text ipad