Long delay between viewWillAppear: and viewDidAppear:
Long delay between viewWillAppear: and viewDidAppear:
- Subject: Long delay between viewWillAppear: and viewDidAppear:
- From: Rick Mann <email@hidden>
- Date: Fri, 12 Oct 2012 20:51:34 -0700
What might account for a really long delay (a minute) between viewWill and viewDidAppear, in the context of presenting a simple modal view controller?
2012-10-12 20:42:32.552 MPTest[52618:1303] -[LoginViewController viewWillAppear:]
2012-10-12 20:43:33.119 MPTest[52618:c07] -[LoginViewController viewDidAppear:]
My modal view controller is initted with a callback block, and contains a UINavBar (just for decoration), a couple bar buttons, and a couple UITextFields.
A little experimentation shows that it works fine if I call it in absence of my networking code (which is all async NSURLConnection-based stuff). That code is tried-and-true, so I don't think it's specifically that.
When the delay manifests, viewWillAppear: is called immediately after I present the VC, and then a minute goes by before the view actually appears and viewDidAppear: gets called.
Puzzling, to say the least.
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden