Esha
Esha

Reputation: 1303

How to close Safari from my App

Is that possible and if yes how can I close Safari which I had opened from my app itself.

If anyone knows please let me know. Thanks in advance.

Upvotes: 0

Views: 130

Answers (2)

Shen Zhu
Shen Zhu

Reputation: 1

Of course you cannot.Except that safari browser has some sdks you can use.But in that case you must register your app's url scheme in your app in my opinion.

Upvotes: 0

Fogh
Fogh

Reputation: 1305

You can't close other apps from your app.

But instead of opening Safari, you could open a view controller with a UIWebView to show the webpage you are opening in Safari.

Upvotes: 1

Related Questions