• 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
iPad interface orientation basics
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iPad interface orientation basics


  • Subject: iPad interface orientation basics
  • From: sebi <email@hidden>
  • Date: Wed, 12 May 2010 21:52:20 +0200

hello,

sorry, this is probably a very simple thing, but i am quite puzzled right now.

when i do this in my view controller:

- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation {
	CGSize size = self.view.frame.size;
	NSLog(NSStringFromCGSize(size));
}

the size is always {768, 1024}, regardless of the orientation. why is it not {1024, 768} in landscape mode? The view definitely changes its size, since it always fills the full screen...

Thanks and regards,
Sebastian Mecklenburg_______________________________________________

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: iPad interface orientation basics
      • From: David Duncan <email@hidden>
  • Prev by Date: iPhone: viewDidAppear called, Default.png still visible
  • Next by Date: AsyncUdpSocket: Receiving duplicate UDP Packet
  • Previous by thread: Re: iPhone: viewDidAppear called, Default.png still visible
  • Next by thread: Re: iPad interface orientation basics
  • Index(es):
    • Date
    • Thread