views:

13

answers:

1

Hi!

I'm loading a view controller like this:

[self presentModalViewController:webViewController animated:YES];

It works but when I call it a second time the view is the same (of course). I need to perform a selector after the modal view controller gets visible again. How can I do this?

Thanks

Philip

+2  A: 

viewWillAppear: or viewDidAppear: might work for you.

Typeoneerror
Works like a charm! Thanks, I used viewWillAppear and it works, so thank you!
Philip