How to automatically launch iOS application when a bluetooth connection is established?

automation, bluetooth, gamekit, ios, objective-c

Solution

Without jailbreaking the device and writing/installing a Springboard plugin, this isn't possible in iOS.

There are no Apple-provided APIs for launching apps and developers are only able to write code that runs when their app is launched by a user.

Problem

So basically what I want to do as the title says is when I have a bluetooth connection established to my iOS device, an application should automatically start. How can I do that? Observation: GameKit is used for the connection.

Original source