0

If my user presses a button to send an email, it opens a new email message inside my app and then when they press send or cancel, returns them to where they were. How can i allow them to do this same thing with pressing a button to send them to a webpage in safari, then back again?

Andrew
  • 15,935
  • 28
  • 121
  • 203

2 Answers2

4

Use a webView instead if you want the user to stay within your app.

PengOne
  • 48,188
  • 17
  • 130
  • 149
  • Yep.... I second this +1. You want to probably build a basic browser using UIWebView.... Implementing forward and back buttons and a simple address bar with a stop and reload button isn't hard to do at all. – Sid Jun 11 '11 at 01:12
1

You implement your own browser (which is actually not hard to do).

One thing to keep in mind, though, is that if you include a browser your app will have a rating of 17+, limiting your market somewhat.

kubi
  • 48,104
  • 19
  • 94
  • 118
  • Is that still the case? I didn't get a 17+ warning when I installed Tweetbot a month ago, which has a built-in browser. – ceejayoz Jun 10 '11 at 20:05
  • 1
    Not if you limit the websites that can be reached. You can get the rating back down to 4+ this way. – PengOne Jun 10 '11 at 20:06