• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Long delay between viewWillAppear: and viewDidAppear:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Long delay between viewWillAppear: and viewDidAppear:
      • From: Rick Mann <email@hidden>
  • Prev by Date: Re: Getting a dotted font from a regular font
  • Next by Date: Re: Long delay between viewWillAppear: and viewDidAppear:
  • Previous by thread: PDF icons scaled wrong on retina displays
  • Next by thread: Re: Long delay between viewWillAppear: and viewDidAppear:
  • Index(es):
    • Date
    • Thread