i want to allow the should rotate, based on the target orientation
[[UIDevice currentDevice] orientation]
however the code above, when used in shouldRotate holds the current (old) orientation, not the target orientation
- (BOOL) shouldAutorotate {
return YES;
}
Okay I figured it out. Return YES in shouldAutorotate always and then do this: