Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make my iOS app visible in photo sharing options like Facebook and Twitter?

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.

enter image description here

like image 450
Richa Avatar asked Jun 02 '14 06:06

Richa


People also ask

How do I give apps access to Photos IOS?

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.

How do you post via IOS on Facebook?

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?

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....

How do I share photos taken at an event with others?

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. ...

How do I get my Apps to appear in the sharing options?

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.

How do I share an object on my iPhone?

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.


1 Answers

I use "Share Extension" to add my own app in the share list. You have to create a new target of your appwhich template is Share Extension

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 :)

like image 183
Yvonne Avatar answered Sep 22 '22 05:09

Yvonne