• 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: Autorotation for a subview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autorotation for a subview


  • Subject: Re: Autorotation for a subview
  • From: Matt Neuburg <email@hidden>
  • Date: Tue, 22 Dec 2009 11:01:57 -0800
  • Thread-topic: Autorotation for a subview

On Tue, 22 Dec 2009 12:51:35 -0500, "Eric E. Dolecki" <email@hidden>
said:
>I have a view which controls it's UI when rotated. However, if there is a
>subView in place, it rotates and I'd like to control it's UI too. In my
>subView the willAnimateRotationToInterfaceOrientation doesn't get fired. I
>set up the shouldAutorotateToInterfaceOrientation. Does my main view need to
>call something in my subView to get this to work? I'd think the subView
>would get the event too but it doesn't.

This sounds like a good time for the view to post an NSNotification. The
subview can then respond to it. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings



_______________________________________________

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: Autorotation for a subview
      • From: Henry McGilton (Boulevardier) <email@hidden>
    • Re: Autorotation for a subview
      • From: glenn andreas <email@hidden>
  • Prev by Date: Re: Core Data _NSFaultingMutableSet Exception
  • Next by Date: Re: NSRecursiveLock problems
  • Previous by thread: Re: NSRuleEditor: Criteria for new row
  • Next by thread: Re: Autorotation for a subview
  • Index(es):
    • Date
    • Thread