Poke your nose into the material.
You need to create a process, independent of the application, that will execute certain methods of the application at the appointed time (even if the application has been cut down). I just can not understand how it is properly called to dig at least some info.
- Firstly, it is called background. Secondly, you better do it on Android. - BiMaWa
- IOS application. In truth, you need to backup your phone book, say, every two days. With backup and tel. There are no problems with the book. There is a background. Especially, you need a background that will be executed if the application is "killed", and not just hanging in the background. - iSerg
|
1 answer
This is prohibited by Apple policy. Your application will not be missed in the AppStore.
But if you really need, then iOS is a unix-based system, and you should look in the direction of fork and those with it.
- those. in order to save a backup of the phonebook, say every two days, it is necessary that the application be in the background, but not terminallyted. I understood correctly? - iSerg
- "But if you really need to" - you need to "correctly" :) - iSerg
- Based on what I read, it turns out like this: The application is started by the system in the background at a certain time, the application must have time to process the data within 30 seconds, and then the system zatermininetid. In principle, this option is suitable. For 500 akkov tel. book takes about 1-2 seconds. - iSerg
- Back up phone book is done by aiklaud. Secondly, to give you 30 seconds after the application is minimized, you need to open this application. You can schedule push notifications for every 2 hours, if the user clicks on them, opens your application, then you are backing up. There are also hacks, by delaying a timeout of 30 seconds, but this should be google. - BiMaWa
- I'm talking about aiklaud, BUT, there is always a customer who wants to use not just aiklaud. - iSerg
|