Fill UIWebView with only UIActivityViewController and UIWebView passed in [Moved to GitHub]

MaxHasADHD
MaxHasADHD
Community Member
edited August 2014 in iOS

I have a web browser app that displays an activity view controller for the current URL in the web view. Using a UIActivityItemProvider I can switch what I pass in, for printing I give It an image of the web page, for twitter I give it the URL. I have tried detecting for 1Password and passing in the web view but the extensions immediately crashes. Xcode prints that It was interrupted but not much else. I am wondering If its possible to get this working (So It will look and work like in Safari) without the separate button and passing in the web view into the OnePassword extension API. Another reason Is because the OnePassword Beta activity shows in the activity view controller in my app but shows an alert error, this could confuse some people If I have to include a separate button along with the default button in my application.

The first attached image Is If I pass in the URL string like normal into my UIActivityViewController.
The second image Is what Xcode prints If I pass in the web view instead.

Comments

This discussion has been closed.