RBDeviceOrientationObserver Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | RBUICenter.h |
– deviceOrientationDidChangeTo:isLandscape:isPortrait:
Called when the orientation of the device changed.
- (void)deviceOrientationDidChangeTo:(UIDeviceOrientation)deviceOrientation isLandscape:(BOOL)isLandscape isPortrait:(BOOL)isPortrait
Parameters
deviceOrientation |
The new device orientation. |
---|---|
isLandscape |
Whether or not the new orientation is a landscape orientation. |
isPortrait |
Whether or not the new orientation is a portrait orientation. |
Discussion
Called when the orientation of the device changed.
Declared In
RBUICenter.h