SetScreenOrientation
SetScreenOrientation(orientation)
Sets the screen orientation.
DISCUSSION
- orientation
- An integer specifying the new orientation, possible values are listed in "Screen Orientation Constants".
- return value
Nil
if the screen orientation was not changed, otherwise a non-nil
value is returned.
This function requests the system to rotate the screen to the desired orientation. The user may be prompted if particular applications do not support the new orientation.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help