Xib view file is not working in landscape mode
Posted
by senthilmuthu
on Stack Overflow
See other posts from Stack Overflow
or by senthilmuthu
Published on 2009-10-28T10:57:35Z
Indexed on
2010/05/07
23:08 UTC
Read the original article
Hit count: 333
Hi, I have added new Xib view file in my project. I assigned to view controller and in the view controller I set:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
//return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
return YES;
}
But when the application runs in landscape mode, xib is not in landscape mode. I have set in info.plist file also xib file is also in landscape view. What do I have to do? Any help?
© Stack Overflow or respective owner