ios launch my app from the photos application with a selected image - ios

I want the ability to have a user select an image in the PHOTO app and launch my app. M app would then read that image and future process it. The user would continue to remain in my app.
I have been reading on "Share Extensions" but they do not appear to be what i need. They appear to be for when the user wants to QUICKLY share info. They are not for when the user wants to send info to another app.
I have been able to do this easily in android but any starting points on what i need to do?

Related

Necessary user info when publishing to AppStore

I want to publish an app to AppStore.
The app is based on HTML/CSS/JS and basically just a WebView which loads local web content.
Nothing is being collected as user info or anything else.
The only thing that needs Internet connection is the AdMob banner to be shown.
In order not to get rejected, what are the necessary information I should add to my app?
e.g. Should there be a button to show a pop-up with some text saying no user data is being collected?
e.g. Is there any mandatory GDPR text I should present to the user?
Add the info at splash screen and show popup to open settings and open wifi. Most probably apple rejects on webview apps. If got rejected then add push notification feature also.

How to download a 3D model from a website and load content into ios app using Swift

Can someone explain the process involved to allows users of my app to visit a website using Safari to download 3D models and subsequently launch the app for the users to view the models. I am currently working with Scenekit to visualise 3D models that have been pre-loaded at build time, however I would like users to be able to access 3D files dynamically after they have uploaded them to my website. After some initial research, I believe Universal links may direct me in the right direction, however I cannot find a suitable source that supports downloading files using these links. An example of the desired functionality is below (screenshot taken from another app).
The user visits the website and downloads the 3D model.
After pressing the download button, an alert pops up and allows the user to launch the app. In doing so, the 3D model is downloaded into the app.
Thank you in advance.
You can use for it Universal Links, or Deeplink. iOS will detect this action and offer to you open in app. But remember, app MUST be installed on your device, otherwise it goes to AppStore to find your app.
So u can put into download URL your 3D model and send it by Universal Link.
Here is documentation from Apple how to use it.
https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content

Can I integrate my app onto instagram and publish in the app store?

I'm currently working on an app that allows some feature to be displayed when a user clicks on another instagram user's pictures, ie, when the picture and the provision to comment on the comment section displays. This is a simple feature that in a way overlays over this page. M question is, does instagram or any other photo sharing app allow this?
Once the user downloads my app, he/she will be allowed to integrate my app with instagram and have this feature enabled.
Not sure I understand your question right or not. But there is no way to overlay your view to other application. There is a way to display part of your application in other application, which called extension but Instagram needs to design their application to add that feature which likely impossible.
Other way you can think of is checking if Instagram has API to see if a photo is liked/commented then you can response to that action.

IOS photos privacy and image upload process

I am an iPhone user and typically, when you want to upload a photo to an app, there are three steps:first, the app checks whether it has permission to access albums and if it does not ,it will ask you to give permission. Then, you will be presented with an interface from which you can select a photo from the album, and finally, you press a button to upload the selected photo to the app. Previously, I thought the app can only access the photo that the user selects, but then I saw this answer:
https://apple.stackexchange.com/questions/107404/is-it-safe-to-allow-apps-to-access-your-photos
which says: "When you give access to an app to photos...it can read all your photos on the device in an unencrypted form." "For example, once you give permission, iOS apps for popular services like Dropbox, Facebook, Flickr and Google+ can upload all your photos to their services. With iOS 7, these apps can also be allowed to do it in the background (when you're not actively running the app). Most users wouldn't even actively know which photos are being uploaded and when."
Millions of people are using ios system and many photos in the albums are private, including but are not limited to images of having sex, images of getting drunk, etc. so I think the most appropriate design is to let the app only access the photos that users selected, not all the photos on the phone. And I think a lot of users, like me, believe that when you give an app permission to access the album, it can only access the photo selected by users, not every photos on the device.
Since I'm a programmer(but not an ios programmer), I take a look at the ios documentation, and I found a class called UIImagePickerController. I believe it is through this class that the app gets a selected image from the user, so it seems to me that an app can only access the selected image. But on stackoverflow I also found an answer about how to select all photos from the device: IOS Photos framework
So my question is, if you give an app permission to access the album, can it only access the photo users select from UIImagePickerController, or every photo on the device?
Once a user grants permission to access the photo library, that iOS app has complete access to every photo in the user's photo library. The permission is not for a specific photo. And UIImagePickerController is only a graphical means to allow the user to select an image. There are APIs that allow the app to access any photo without user interaction. And all of those APIs are covered by the one single permission to allow access to the photo library.
#rmaddy is correct that the user grants permission to access the entire photo library on the user's device. However, note that iPhone users have the option of hiding photos by viewing the photo and tapping the share button (Tap share and select Hide.) See Apple support article .

iOS: Testing device to allow access to photo library...reset setting

I was testing my app, part of which allows the user to take a photo and save it. When the alert appeared on the screen asking me to give my app access to the photo library I accidentally hit "No" (Stupid touch feature : D ). Now each time I run the app I cannot save images. Is there a way to reset that?
Just turn access on in the settings. Settings->Privacy->Photos->Your App.

Resources