Re: viewWillDisappear not being called
Re: viewWillDisappear not being called
- Subject: Re: viewWillDisappear not being called
- From: Heath Borders <email@hidden>
- Date: Mon, 25 Apr 2011 22:04:07 -0500
I've seen this behavior also, specifically on iOS 3.1 while using a
UIViewController inside a UINavigationController inside a
UITabBarController.
-Heath Borders
email@hidden
Twitter: heathborders
http://heath-tech.blogspot.com
On Mon, Apr 25, 2011 at 9:59 PM, Jeffrey Walton <email@hidden> wrote:
> Hi All,
>
> According to the documentation in the headers:
>
> // UIViewController.h
> // Called when the view is dismissed, covered or otherwise hidden.
> - (void)viewWillDisappear:(BOOL)animated;
>
> And Apple's documentation [1]:
>
> Notifies the view controller that its view is about to be dismissed,
> covered, or otherwise hidden from view.
>
> I'm not sure if I should be surprised or not, but viewWillDisappear
> does not appear to be called despite what the documentation claims.
>
> The view is part of a custom view controller (built with IB - nothing
> fancy) and presented modally. To duplicate, show a view modally and
> press the home button.
>
> Thanks in advance,
> Jeff
>
> [1] http://developer.apple.com/library/ios/#documentation/uikit/reference/UIViewController_Class/Reference/Reference.html
> _______________________________________________
>
> 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
>
_______________________________________________
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