I want to enable my app to launch when the USB connects. I imagine there are two approaches to this, the first having some sort of external monitoring process which is always running and checking for such an event, the second would be a process within the app itself.
Having spent the whole day on Google, I first thought I could use the ExternalAccessory.framework to monitor the USB port. However, the only examples I've seen is when the app is already running. Is there any process I can use that will allow me to add my app for launching when the iOS starts syncing?
Alternatively, is it possible to use ExternalAccessory for this purpose and I'm just going about it the wrong way?
Looking at the comments above, the comments by cmyr are indeed correct and as correctly pointed out by Larme, the only solution is to use MFi which can configure the USB device as a custom setting which will always prompt the iOS as a connection.