hope you will be fine and doing your best.
I am getting a problem in upSideDown Orientation
in my iOS 6
, while I think I am doing everything perfect, but I don't know why it is not working for me. I am sharing my problem with you so to get any solutions.
What I have done so far:
a) In xcode project Summary tab, I have enabled all the 4 orientations.
b) I have added piece of code (written below) in all of my controller classes.
-(BOOL)shouldAutorotate
{
return YES;
}
-(NSInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskAll;
}
but still the upSideDown Orientation
is not working
Thanks in anticipation.
UINavigationController
as done here: https://mcmap.net/q/705359/-upside-down-orientation-not-working-in-ios6-for-uinavigation-view-and-uitabbar-view – Diplopod