Reputation: 837
I am developing an iPhone app. It has an option called automatic update. it can be updated automatically once in a week/month/6 months. Could you please let me know How can I invoke my desired method based on this setting even my app was not opened by the user?
Upvotes: 1
Views: 94
Reputation: 1149
what you can do is that increase badge count of application icon on receiving notification from UIlocalNotification.
when user open application check the application badge count if it is more than zero apply your logic to update application.
else there will be no update popup to client.
Upvotes: 0
Reputation: 69469
You can't, the user will need to open the app, there is no way to schedule update routines.
You could inform the user that he/she need to update with an UILocalNotification
, but I would suggest only to update your app when the users starts it.
Upvotes: 4
Reputation: 10398
It's against apples rules to push an updated app within your app. You have to resubmit to the app store.
Upvotes: 0