ios - dispatch_async on DISPATCH_QUEUE_SERIAL after app close -
i added code app's applicationwillterminate method:
dispatch_async(dispatch_queue_create(@"some name", dispatch_queue_serial), ^{ //some code });
is there chance code not execute? i'm having issues indicating in cases code not execute.
this method not called if application crash or suspended.
for more informations, can see documentation apple documentation (uiapplicationdelegate) , apple documentation (the app life cycle)
Comments
Post a Comment