I would like to implement a custom URL scheme similar to how mailto works in Safari. In my html I have a link to my custom scheme (e.g., myapp://parms) which will call my app that has the myapp scheme defined. When myapp is done, I want to return to the Safari browser page. If you have a 'mailto:', the mail app has a cancel button. If you push that, or do the send, when done it goes away and the Safari page is there.
I know I am not supposed to kill my app. If I try, it goes back to home and not Safari anyway. How can I have my custom scheme app go away (hide?) when done so the calling app is back?