I have been asked to develop an app that will record and later \"play back\" touches and gestures onto another app running in the foreground.
From my experience and
if you want to access another application in your iPhone ,you can set the url scheme parameter and so on.You can add callback in your url,then you can return back your application.