• 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: iOS popovers - View lifecycle.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: iOS popovers - View lifecycle.
      • From: Mikkel Islay <email@hidden>
References: 
 >iOS popovers - View lifecycle. (From: Alex Zavatone <email@hidden>)
 >Re: iOS popovers - View lifecycle. (From: Mikkel Islay <email@hidden>)

  • Prev by Date: Re: View based outline view and custom NSTableCellViews
  • Next by Date: Re: iOS popovers - View lifecycle.
  • Previous by thread: Re: iOS popovers - View lifecycle.
  • Next by thread: Re: iOS popovers - View lifecycle.
  • Index(es):
    • Date
    • Thread