I am trying to figure out how to create a user interactive post or tweet kind of like SoundCloud's here below:
The portion highlighted in yellow is the part that interests me because as far as I can tell when it comes to UIActivityViewController (which is what Sound Cloud uses for this) the only objects that work for sharing are images and strings.
Further more, if you were to tap the portion highlighted in yellow this screen would pop up on twitter:
HOW DO THEY DO THAT!? THEY HAVE A PAUSE BUTTON AND EVERYTHING!
This is my attempt to do that...
func displayShareSheet(shareContent:String) {
let someView:CustomView = CustomView() // CustomView is a subclass of UIView
let activityViewController = UIActivityViewController(activityItems: [someView], applicationActivities: nil)
presentViewController(activityViewController, animated: true, completion: {})
}
...which doesn't work. The UIActivityViewController sheet pops up with no share options indicated.
I understand that some may consider this a broad question but if you could at least point me in the right direction I would be very grateful. Thank You.