Reputation: 24912
I need to remove or at least make it impossible for the user to run Safari on an iPad.
Instead, the user should use a far more restricted browser that we will provide.
Is this possible?
Upvotes: 1
Views: 152
Reputation: 46
If you mean to open url in your app by using your own webview instead of opening safari, you can register your class with the UIWebViewDelegate protocol and implement the method – webView:shouldStartLoadWithRequest:navigationType: Inside this method, you can deal with the url and return NO, so that safari won't be opened.
Upvotes: 1