Assuming you are using Xcode, go to your project settings, then choose your goal. On the "Information" tab, you add the type of document that will associate it (doc, xls, txt, etc.) with your application. If you open an item in safari, you will be asked to open it in your application. In the latest versions of mobile safari, I believe that an inscription appears in the upper part of the document in which you specify this option, and do not appear in the "Add Bookmark" poker.
Here is the detailed information.
source share