I have already developed an application for landscape mode, now the client asks to build in both landscape and portrait modes.
How can I convert a landscape to a portrait view?
Now I use this code for Landscape View:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft) || (interfaceOrientation == UIInterfaceOrientationLandscapeRight); }
Please help me....
Advance Thanks :)
source share