title: How to launch my app on connecting to USB?
body: <p>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.</p>
  
  <p>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?</p>
  
  <p>Alternatively, is it possible to use ExternalAccessory for this purpose and I'm just going about it the wrong way?</p>