iOS Question Background location tracking problem

schimanski

Well-Known Member
Licensed User
Longtime User
I used the attached example to write the data to a file. I have tested it in release several times, but the file is only updated, if the app is in the forground...Am i missing something?

Edit: Sorry, wrong forum:confused:
 

Attachments

  • 1.zip
    1.2 KB · Views: 138
Last edited:

schimanski

Well-Known Member
Licensed User
Longtime User
I have tested it in two different apps, but in both the same behavior: The location tracking icon is always disabled, after perhaps 8 seconds after doing the app in the background. To make sure, that the UpdateLabel-Sub is called, I always changed my gps-location. I use a iphone 6+ with ios 9.3. In the settings, the app is marked as 'always location tracking'....The releaselogger only shows the logs, if the app is in the forground. In the background, no logs, no loction tracking icon and no updates of the textfile...
 
Upvote 0
Top