I would like to replicate this behaviour (see image below) and share contents from my app using this kind of action sheet.
The question is:
Is this really an Action Sheet? I can't find anywhere tutorial for iOS 7 or 8. Not sure how to proceed.
Do the sharing options depends on user's configurations?
Hints would be appreciated.
You can achieve this result by using UIActivityController class.
Please take a look at this link :- http://nshipster.com/uiactivityviewcontroller/
Hope this helps!
It is not in
UIActionSheet
it is inUIActivityController
, which is the default function in iOS.objective-C
Swift
Try these links for tutorials
http://nshipster.com/uiactivityviewcontroller/
http://www.codingexplorer.com/add-sharing-to-your-app-via-uiactivityviewcontroller/
http://roadfiresoftware.com/2014/02/how-to-add-facebook-and-twitter-sharing-to-an-ios-app/
Swift
https://www.hackingwithswift.com/example-code/uikit/how-to-share-content-with-uiactivityviewcontroller