iPhone: Responding to user events
<p>iPhone developer newbie question:</p>

<p>I'm looking to have my application perform an action when a user stops listening to a track on their iPhone (i.e. presses the stop button).
Is it possible to hook into these kind of events (play / pause / stop etc)? If so, which API would I use?</p>

<p>Regards,
Andy.</p>
