Hi! I need a expert helper! I'm developing an iOS application to show near peripherals bleutooth and connect with one of this. Then, I know all of the services and characteristic, and subscribe to click button characteristic of bluetooth keychain connected. All this is correct in my application. Also, when my app is on background, my bluetooth keychain keep connect and I can her the updaecharacteristic when I click a button of this peripheral. ANd if I lost blueotooth signal in background, this reconnect when find the signal again. All works correctly!
But when I send my app to background and I reboot my iPhone, I lost the connection and this not reconnect. I thought that when iPhone is rebooted, the app is in background if you reboot the iPhone, iOS system keep yout applications in background and keep all like before reboot.
So how to works willRestoreState function?
I know that if I kill the app until user relaunch the app this not work, but my app was in background before reboot, wmy app wasn't killed. How to works this?
Thanks!!