I use state preservation and restoration. After simulating memory pressure using kill(getpid(), SIGKILL);
, the app is killed and then is woken up, I receive notifications from the CBCentralManagerDelegate
and I can communicate with peripherals.
Should restoration works after:
- iOS reboot?
- the user kills the app from the multitasking bar?
According to posts like this: Long-Term Actions after app is killed, point 2 could not be possible.
- If restoration does not work for 1 or 2 points, how could I "reconnet" to my peripherals in these situations?