1

The 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"?

For reference

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Ganesh
  • 49
  • 1
  • 8
  • 2
    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
  • 1
    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
  • Related: *[Apple App Store rejection 5.1.5: "Your app uses background location services but does not clarify the..."](https://stackoverflow.com/questions/37948301/)*, *[Apple Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage](https://stackoverflow.com/questions/48104184/)*, and *[Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage](https://stackoverflow.com/questions/71465167/)* – Peter Mortensen Jul 27 '23 at 12:40
  • Related: *[Location Services not working in iOS 8](https://stackoverflow.com/questions/24062509/)* – Peter Mortensen Jul 27 '23 at 13:26

2 Answers2

1

You have to add an explanation of your apps needs to Info.plist. 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.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
1

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

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Jeek Axio
  • 32
  • 6
  • Thanks Solved it. – Ganesh Apr 05 '17 at 05:25
  • Re *"You are currently enabled Location Background Mode device capability in your app"*: That seems unlikely. What is the actual quote? Is there a source? – Peter Mortensen Jul 27 '23 at 12:08
  • What is the source for the screenshot? It seems to have been copied from somewhere. For instance, there is a similar screenshot on *"[Handling location updates in the background](https://developer.apple.com/documentation/corelocation/handling_location_updates_in_the_background)"*, near "Add the background mode capability" – Peter Mortensen Jul 27 '23 at 12:12
  • In order for copied text not to be [plagiarism](https://en.wiktionary.org/wiki/plagiarism#Noun), it needs to be quoted (very clearly marked as copied) and the source provided. The exact phrase *"The code you write to start and stop the standard location services is unchanged"* is found on the Apple page *[Getting the User’s Location](https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/LocationAwarenessPG/CoreLocation/CoreLocation.html)*. – Peter Mortensen Jul 27 '23 at 12:17
  • cont': And the exact phrase *"if they provide services that require continuous location updates"* is found on [the same page](https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/LocationAwarenessPG/CoreLocation/CoreLocation.html). – Peter Mortensen Jul 27 '23 at 12:20
  • OK, the OP has left the building (and will thus never respond): *"Last seen more than 6 years ago"*) – Peter Mortensen Jul 27 '23 at 13:31
  • Note: This is ***regular plagiarism***, long before [ChatGPT](https://meta.stackoverflow.com/questions/421831/temporary-policy-chatgpt-is-banned) – Peter Mortensen Jul 27 '23 at 13:32