I have a picture sharing app which shares pictures among your app friends. My requirement is to show my app in sharing via pop-up, when iOS user choose any photo from photo gallery.
I found solutions for sharing PDF files via custom app, but no luck for iOS "photos".
I have also go through this link https://stackoverflow.com/questions/9266079/why-is-my-iOS-app-not-showing-up-in-other-apps-open-in-dialog and did changes in my app, but it seems not to be working.

Follow these steps to grant apps access to your photos on iPhone: Settings > Screen Time > Content & Privacy Restrictions > Photos > Make sure it's set to “Allow changes” In the app you're trying to grant access to your photos, try accessing your photos again; It should prompt you to give permission; Accept.
Click "tap to post" that has the FB icon, type your message and it WILL show up on your wall as "posted via IOS".
How to Share Photos on My iPhone 1 In the Photos tab or from within an album, tap Select and then select the photos and videos that you want to share. 2 Go to > Shared Albums. 3 Choose the album where you want to share your photos. See More....
1 Tap the For You tab, then tap a photo collection in Sharing Suggestions. 2 Tap Select to add or remove photos, then tap Next. Photos suggests sharing the photos you took with the people who were also at the event. ... 3 Tap Share in Messages. ...
Tap and hold the three line icon to the right until you have "grabbed" it, then drag it to where you want it. That's all there is to it, your apps will now appear in your sharing options.
Whenever you tap the share button a two tiered "Activities" menu opens that gives you a variety of sharing options. Depending on what type of object you intend to share (photo, music, Notes, files, etc.), default options like AirDrop, Messages, Mail, AirPlay, Duplicate, Copy, etc. will come up.
I use "Share Extension" to add my own app in the share list. You have to create a new target of your app
Be careful!! The Deployment Target version of this target should under the version of your testing device to make sure the icon shows in the list.
Other activities should be defined in the ShareViewController.m created automatically.
Hope my answer can help you :)
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