i am working on one tracking application in that i use location manager service and
set desiredAccuracy = kCLLocationAccuracyNearestTenMeters
and distanceFilter = 60.0.
i want to give background support. for that i
set App registers for location updates,
App downloads content from the network
in my info.plist. and i put
[[UIApplication sharedApplication] setMinimumBackgroundFetchInterval:UIApplicationBackgroundFetchIntervalMinimum];
this code in didFinishLaunchingWithOptions method.
i also use this method for call startUpdatingLocation location manager method
- (void)application:(UIApplication *)application performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
this all work in iOS 7 with iPhone4
but i have other two device in iPhone4S and iPhone5 in that device when device is ideal at that time application is in background so the navigation symbol get disappear and my location data not get updated on server.
when phone is ideal and when i start my application its not in background my application start from login screen.
so background location update not work for iPhone5 and iPhone4S having iOS7.
Please provide me solution for this.
my application is for tracking purpose if i am not get updated location so it is useless.