Saving when app in background received: "Can't endBackgroundTask: no background task exists with identifier 14, or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug." #1107
The belowcode works fine in foreground. However, when I put the app to background, every time MR_saveToPersistentStoreAndWait is called, the console shows
"Can't endBackgroundTask: no background task exists with identifier 14, or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug"
The belowcode works fine in foreground. However, when I put the app to background, every time MR_saveToPersistentStoreAndWait is called, the console shows "Can't endBackgroundTask: no background task exists with identifier 14, or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug"
Any ways to avoid it? Thanks a lot.
//CLLocationManagerDelegate