Open GoogleCodeExporter opened 9 years ago
The AdWhirl implementation using [UIDevice currentDevice] does not consider
when the device is face up or down. It should contain something like this-
if( UIDeviceOrientationIsValidInterfaceOrientation(interfaceOrientation) )
interfaceOrientation = UIDeviceOrientationPortrait;
To make it one of the 4 valid vertical positions (2 portrait/2 landscape).
Even better is to cache the last valid orientation and use it if the device is
laying down. You should implement-
- (UIDeviceOrientation)adWhirlCurrentOrientation
in your code and set a valid orientation using the above logic
Original comment by Geb...@gmail.com
on 1 Oct 2010 at 6:34
Original comment by nigelc...@google.com
on 7 Oct 2010 at 12:34
Original comment by fch...@google.com
on 20 Oct 2010 at 12:14
Original issue reported on code.google.com by
steve.ma...@gmail.com
on 1 Oct 2010 at 3:03