I need help about this problem.
I have a functionality in my application to share links with other users, what I need to do is:
Is this possible in iOS to share a link from browser to the app directly.
Need help about this.
Regards.
Starting from iOS 8 Using Share App Extension can achieve this task
I managed to do it by creating a Share extension app (File->New->Target->Application Extension)
Then from Targets->Info I specified support for web URLs
Then i spent time searching for a way to use original app files in the app extension and this post helped me a lot Sharing code between original iOS App and App Extension
If you are using cocoapods this can help you too https://stackoverflow.com/a/31989172/3033056 but be aware that not all pods are allowed to be used in app extensions
This is a link for a tutorial http://www.appcoda.com/ios8-share-extension-swift/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With