In my info plist, I have defined Supported interface orientations (iPad) as all orientations, and it works. The only problem is if I start in landscape mode, it starts as portrait, but If I rotate and then rotate back, it fixes.
So how can I make it so it adopts to the startup orientation?
thANKS.
In my info plist, I have defined Supported interface orientations (iPad) as all orientations,
Share
You can force the orientation you need by implementing the following in either your
didFinishLaunchingWithOptions:or in a view controller’sviewWillAppear:.