• 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: iPhone Orientation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhone Orientation


  • Subject: Re: iPhone Orientation
  • From: Bruce Martin <email@hidden>
  • Date: Mon, 08 Dec 2008 22:16:17 -0500

Thanks for the answers. I was told that it was a violation of the NDA:
>>
Until an announcement is made otherwise, developers should be aware
that the iPhone SDK is still under non-disclosure (section 5.3 of the
iPhone Development Agreement). It can't be discussed here, or anywhere
publicly. This includes other mailing lists, forums, and also blogs.
Violating the NDA will result in WWDR being notified of the breach.
Further action is at their (and legal's) discretion.

/>>
I was confused because Apple had stated recently:

On October 1st, Apple decided to remove the non-disclosure agreement (NDA) for released iPhone software. The updated iPhone SDK agreement is posted on the iPhone Dev Center.View now

So until the confusion can be resolved I will not continue this, but I thank you all for any answers you have given so far.


Bruce Martin The Martin Solution email@hidden http://www.martinsolution.com http://externals.martinsolution.com

On Dec 8, 2008, at 10:51 AM, Dave DeLong wrote:

UIViewController has methods that are called to notify that the iPhone will, is, or has rotated:

- (BOOL)shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation)interfaceOrientation
- (void)willRotateToInterfaceOrientation: (UIInterfaceOrientation)toInterfaceOrientationduration: (NSTimeInterval)duration
- (void)willAnimateFirstHalfOfRotationToInterfaceOrientation: (UIInterfaceOrientation)toInterfaceOrientation duration: (NSTimeInterval)duration
- (void)willAnimateSecondHalfOfRotationFromInterfaceOrientation: (UIInterfaceOrientation)fromInterfaceOrientation duration: (NSTimeInterval)duration
- (void)didRotateFromInterfaceOrientation: (UIInterfaceOrientation)fromInterfaceOrientation


All you would need to do is implement any of those in your ViewController to rearrange your interface appropriately. You can call [self setVew:someNewUIView] in a method, or whatever.

Cheers,

Dave

On Dec 6, 2008, at 10:19 AM, Bruce Martin wrote:

I'm not sure this is the right list but a search in the Archives returned no results for this question so that makes this question a simple one, or maybe no one else has had an issue with it.
I am trying to get notifications that the orientation of the iPhone has changed, if it changed then I want to change the view to a new view which will contain different information than the original upright view.


I tried looking for some examples or tutorials but can't find anything so the more basic your answer the better :)
Thanks
Bruce Martin
_______________________________________________

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


  • Follow-Ups:
    • Re: iPhone Orientation
      • From: Roland King <email@hidden>
References: 
 >iPhone Orientation (From: Bruce Martin <email@hidden>)
 >Re: iPhone Orientation (From: Dave DeLong <email@hidden>)

  • Prev by Date: Programmatically adding an NSTableView to another view
  • Next by Date: Re: Programmatically adding an NSTableView to another view
  • Previous by thread: Re: iPhone Orientation
  • Next by thread: Re: iPhone Orientation
  • Index(es):
    • Date
    • Thread