Re: iPhone puzzle about rotation
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=1Vd8iUu9nxqFpz7BUr0bp+fTjpYLNoZnlNM4k1z9CvU=; b=TWI2Zl2xh4izLDYfxVhRp0GzyYgq5nwXwp6/cjZgvdzBvvxWHB/sB1lCGRCGIbbb5V JrpR5aj8shBDSMFVtV6wyYa6Li2ypB33fzB/nf48SaaSPMtH8MftPO900UTl61kj2fRO oUdeEVZeGLMiNQQG8i1gZnpagHMk6kcNZQcz8= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=NptQQYNg1a8/khB8oFuq0Dv6DyKlcwBV9lBCUKxjgsn71dO01ThFRG5r+djAn/8D/8 h0Ds8ZHjR07HPDmqjSsFrCmMi2kBgJhB6pTtSsXLiCPltg87TUEIBe/+A/Oq30rmfFPR +2FNRYXP4mJzgbnQ0w5zsMPG9n8MyzzjOvHo0= On Jan 31, 2011, at 11:16 PM, David Rowland wrote:
Is there something that defeats the delivery of rotate events to a view controller?
This may or may not be the case with your app, but a UITabBarController vetoes device orientation change events to its managed view controllers unless every one of them supports the orientation change in question. However, it still calls the view controllers' -shouldAutorotateToInterfaceOrientation: method (as it must, in order to find out if they all support the orientation change being requested). It may not invoke them every time, though. Rather, it may invoke them once per view controller and cache the result. I don't know which is the case, but it's easy to check._______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... This email sent to site_archiver@lists.apple.com
participants (1)
-
WT