RBDeviceOrientationObserver Protocol Reference

Conforms to NSObject
Declared in RBUICenter.h

Overview

An observer of changes to the device orientation.

– 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.

Declared In

RBUICenter.h