iOS 7 Bluetooth - app that handles events in background even after phone restart
问题 I want to write a tracking application, which reacts/record when users get in a car and phone automatically pair with Bluetooth hands free. I need also Id of the hands free device. On Android it is easy, using Broadcast Receiver your app listen to broadcasts that device had been paired with phone. It is working even after phone had been restarted and App did not run after restart. Is it possible on iOS(7+) ? 回答1: You can do it by reading the "Performing Long-Term Actions in the Background"