tags:

views:

14

answers:

1

i'm having a view (lets say view1) which have a button to load an uiwebview,after loading the webview i need to show the view1 again, how can i achieve this.

A: 

[myWebView removeFromSuperView];

If you want to animate easily, you can put the UIWebView in a separate view controller, present it as a modal view controller and run [self dismissModalViewControllerAnimated:YES]; in your controller when done.

Peter DeWeese