Void - [MKTileCache Sync] (MKTileCache *, objc_selector *), called in the background!

I am working on an application that uses MKMapView. "Application does not work in the background" is set to true in the application plist file.

When you start the application and exit the application using the "home" button, the application exits without problems.

When I switch to the second viewController, I load MKMapView into a UIScrollView. When you exit the application from this screen, the application exits with the status: 0 and the message:

void -[MKTileCache synchronize](MKTileCache*, objc_selector*) called while in background! 

.

If I go to the second screen and then go back to the main screen and exit the application using the homebutton button, I confirmed that mapview has been released, but I still get this message.

Can anyone help me with this? Will the application be rejected for this?

+6
iphone
source share
1 answer

I have a similar situation using MKMapView, the application does not work in the background, set to true, and I get the same error. I'm looking for ways to check and / or solve this problem right now, but my application has been reviewed and approved twice now with this setting so that it does not look like a criminal. Of course ymmv

+4
source share

All Articles