• 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: Landscape view drawing as if in portrait mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Landscape view drawing as if in portrait mode


  • Subject: Re: Landscape view drawing as if in portrait mode
  • From: Matt Neuburg <email@hidden>
  • Date: Sun, 03 Jan 2010 12:09:52 -0800
  • Thread-topic: Landscape view drawing as if in portrait mode

On Thu, 31 Dec 2009 23:49:54 -0800 (PST), Ian was here <email@hidden>
said:
>It works fine when I initially attach a view to the view controller, but when
releasing it and attaching a new view, it screws up.

There may be some larger misconception at work here. You should not be
"releasing" a view controller's view and "attaching a new view". One view
controller, one view. Let each view controller manage its view; you manage
the view controllers. For a new view, make a new view controller. Okay, I've
said the same thing several different ways now. :)

Also, it might help to be aware of the discussion we (meaning I) just had
here on the topic of iPhone apps that are autorotated at startup. The
problem here is that loadView / viewDidLoad are too soon to do anything
relating to the interface; you must wait until didRotate... arrives (and the
docs fail to warn of this). 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: Landscape view drawing as if in portrait mode
      • From: Ian was here <email@hidden>
  • Prev by Date: Setting NSWindow titlebar height
  • Next by Date: Re: How do I bind custom view properties to an NSCollectionViewItem?
  • Previous by thread: Re: Setting NSWindow titlebar height
  • Next by thread: Re: Landscape view drawing as if in portrait mode
  • Index(es):
    • Date
    • Thread