I have a button called “Visit Website”. If Visit Website is clicked then the website supplied
will be opened in the browser.
My requirement is, when closing the browser the user will be brought back to the same screen.
I want to do it in this way please guide me how I can do that.
You can open webpages within your iPhone application using UIWebViewController. Push a new ViewController to your navigation stack and in its loadView method create a UIWebViewController.
and in MyViewController loadView:
or for local HTML file you would replace the last line with something like this.
Now whatever your user does in this webview, he/she can always tap the back button in the navigation bar to return.