Generic-user-small Michael Rogers 4 posts

Hi, All:

I put an NSLog() call in viewWillAppear in EditorViewController.m, and noticed that the method is being called twice when I click on the Edit button.

Why is this?

Thanks for any insights,

Michael Rogers

 
Gingerbeardman_small Matt Sephton 10 posts

I’m also getting this.

I set some breakpoints and step through the code, and viewWillAppear executes and then I step through some machine code (presentModalViewController:withTransition) which causes viewWillAppear to execute again.

Any help appreciated.

 
Littleboy_small Roman Busyghin 20 posts

It’s iPhone SDK bug. Some people are also faced it.

3 posts, 3 voices