device rotation without animation?
Posted
by dot
on Stack Overflow
See other posts from Stack Overflow
or by dot
Published on 2010-04-04T01:01:10Z
Indexed on
2010/04/04
1:03 UTC
Read the original article
Hit count: 375
iphone
I'm trying to have standard interface orientation, but without the animation.
I would like to be able to turn the iPhone and have have the view adjusted instantly.
I've seen people recommend this function, but it doesn't seem to work.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return NO;
}
Any help is greatly appreciated!
Thanks!
© Stack Overflow or respective owner