Reputation: 5698
I am still designing my application workflow and not starting the development yet. I wonder if this scenario can happen and not rejected by Apple:
NSUrlConnection
or directly execute NSUrlConnection
Is it possible to execute some heavy operations after receiving notification?
Update:
From here , in part Using Push Notifications to Initiate a Download
, it seems that download execution task is allowed in iOS 7, but I am not sure in iOS 5 & 6.
Upvotes: 0
Views: 58
Reputation: 1320
"Using Push Notifications to Initiate a Download"(we called remote-notification background mode) is only available after iOS 7.0.
Without remote-notification background mode, if your app isn't in foreground, app's application:didReceiveRemoteNotification:fetchCompletionHandler will never be called until you tap the notification to make your app becomes to the foreground again.That means it is impossible to do something by notification when app isn't in foreground.
Upvotes: 1