• 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
Re: Long delay between viewWillAppear: and viewDidAppear:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Long delay between viewWillAppear: and viewDidAppear:


  • Subject: Re: Long delay between viewWillAppear: and viewDidAppear:
  • From: Rick Mann <email@hidden>
  • Date: Fri, 12 Oct 2012 21:13:52 -0700

Hm, sure enough, my main thread seems to be tied up on something. Not sure why. Stopping it in the debugger just shows mach_msg_trap (waiting for events).


On Oct 12, 2012, at 20:51 , Rick Mann <email@hidden> wrote:

> 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


--
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

References: 
 >Long delay between viewWillAppear: and viewDidAppear: (From: Rick Mann <email@hidden>)

  • Prev by Date: Long delay between viewWillAppear: and viewDidAppear:
  • Next by Date: Re: Getting a dotted font from a regular font
  • Previous by thread: Long delay between viewWillAppear: and viewDidAppear:
  • Next by thread: filtering an array of entities using NSPredicate
  • Index(es):
    • Date
    • Thread