Wouldn't it be nice if the interface rotated when you rotate the device?
Well, now it does.
Since we've locked the UIInterfaceOrientation we need to base this on listening to the UIDeviceOrientationDidChangeNotification and perform the appropriate transformation based on this.
Wouldn't it be nice if the interface rotated when you rotate the device? Well, now it does.
Since we've locked the UIInterfaceOrientation we need to base this on listening to the UIDeviceOrientationDidChangeNotification and perform the appropriate transformation based on this.