Re: iOS popovers - View lifecycle.
Re: iOS popovers - View lifecycle.
- Subject: Re: iOS popovers - View lifecycle.
- From: Alex Zavatone <email@hidden>
- Date: Fri, 07 Sep 2012 11:48:35 -0400
Well, wouldn't we expect that the popover controller would message the events to the view within it? It seems strange that view controller events are completely thwarted by using the popover controller.
So, using Xcode 4.2, I can't look inside popoverViewController and even see what the relationship of the TVC I am looking to message is. Po and print only have introspection in later versions of Xcode.
I would expect the object's contentViewController would be the the object to message but that doesn't even trigger the break points I set in the methods.
Sent from my iPad
On Sep 7, 2012, at 10:46 AM, Mikkel Islay <email@hidden> wrote:
>
> On 7 Sep 2012, at 16:39, Alex Zavatone wrote:
>
>> I just noticed that when we open a popover ala a segue, that after it is dismissed, when it is opened again, none of the view lifecycle methods are called.
>>
>> viewWillAppear, viewDidAppear both don't get called, but it appears just fine.
>>
>> Is this expected behaviour?
>
>
> UIPopoverController doesn't inherit from UIViewController.
>
> Mikkel
_______________________________________________
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