1

App is getting rejected so many times by Apple saying

"Upon further review, we still found that 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."

What is the exact description to specify in "NSLocationAlwaysUsageDescription"?

Attaching image for reference

Anbu.Karthik
  • 80,161
  • 21
  • 166
  • 138
Ganesh
  • 39
  • 1
  • 8
  • 1
    You have to explain *why* your app needs to track the user at all times. – rmaddy Apr 05 '17 at 04:37
  • @rmaddy Can you give me an example for **NSLocationAlwaysUsageDescription** – Ganesh Apr 05 '17 at 04:40
  • see this http://stackoverflow.com/questions/37948301/apple-app-store-rejection-5-1-5 – Anbu.Karthik Apr 05 '17 at 04:42
  • I'm voting to close this question as off-topic because it is about publishing to an "app store" policies and procedures, rather than programming. See [Are developer-centric questions about application stores on topic?](//meta.stackoverflow.com/q/272165) – Makyen May 22 '18 at 23:52

2 Answers2

1

You have to add to Info.plist an explanation of your apps needs. Something like this

Key: Privacy - Location When In Use Usage Description

Value: MY_APP wants to use your location to associate MY_APP watermarks available in your geographical area.

  • @Ganesh System will take a string from your app Info.plist file with key "Privacy - Location When In Use Usage Description" and show it to user in alert. So Apple requires that this string should clear explain to user why your app needs in access to their location – Evgeniy Gushchin Apr 05 '17 at 05:00
  • Gushchin Thanks for letting me know. – Ganesh Apr 05 '17 at 05:01
0

As per apple documentation mentioned here, your app can use the standard location service in the background if they provide services that require continuous location updates.

You are currently enabled Location Background Mode device capability in your app.

If you want to disable : Go to Xcode project background mode (located in the Capabilities tab of your project) and disable the Location updates mode. The code you write to start and stop the standard location services is unchanged. Please check the reference screenshot below :

enter image description here

Jeek Axio
  • 22
  • 5