Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to clarify the purpose of its use in the location modal?

in my app i am showing user location on the map view So I implemented CLLocationManager. I got below error with Binary Rejected .

4.5 - Apps using background location services must provide a reason that clarifies the purpose of the use, using mechanisms described in the Human Interface Guidelines

4.5 Details

Your app uses background location services but does not clarify the purpose of its use in the location modal alert as required in the iOS Human Interface Guidelines.

We’ve attached screenshot(s) for your reference.

Next Steps

Please reconfigure the UIAlertControllerStyleAlert in your code and specify the intended purpose of using background location in its message field.

like image 792
suhas Avatar asked May 06 '16 08:05

suhas


1 Answers

You have to write description with NSLocationWhenInUseUsageDescription And NSLocationAlwaysUsageDescription this key in info.plist, so that user know that why your app is using gps location. Both of the key take string as a value. and this string shows in GPS permission alert.

Add in info.plist as below.

enter image description here

like image 126
Divyesh Savaliya Avatar answered Nov 03 '22 08:11

Divyesh Savaliya