Xib view file is not working in landscape mode
- by senthilmuthu
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?