Would you like to use your current location! Using ALAssetsLibrary

My application only receives image and metadata from an ios device using ALAssetsLibrary . When the application starts downloading images, an ios warning message is displayed.

The "app" would like to use your current location. This allows you to access location information in photos and videos.

Is there a way to fix the code so that this warning does not appear? ( not using the Setting-> General .... parameter)

I think the user does not understand why the application asks for a location when choosing an image.

+4
source share
2 answers

If you need metadata information, using the library resource is your only option. Using Alassetslibrary means that the user grants permission to location services. A simple reason for this is that photo metadata may contain location / gps data.

Greetings

Hendrick

+2
source

UPDATED: it will not request access permissions in iOS 6. You can check the client [[UIDevice currentDevice] systemVersion] when using ALAssetsLibrary.

+2
source

Source: https://habr.com/ru/post/1388618/


All Articles