mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Fixed a bug recalling iOS orientation settings
This commit is contained in:
parent
5816958001
commit
17622e9139
1 changed files with 9 additions and 5 deletions
|
|
@ -3202,11 +3202,15 @@ private:
|
|||
|
||||
if (settingsString.contains ("portrait")) orientations.add ("UIInterfaceOrientationPortrait");
|
||||
if (settingsString.contains ("landscape")) orientations.addArray ({ "UIInterfaceOrientationLandscapeLeft",
|
||||
"UIInterfaceOrientationLandscapeRight" });
|
||||
if (i == 0)
|
||||
iPhoneScreenOrientationValue = orientations;
|
||||
else
|
||||
iPadScreenOrientationValue = orientations;
|
||||
"UIInterfaceOrientationLandscapeRight" });
|
||||
|
||||
if (! orientations.isEmpty())
|
||||
{
|
||||
if (i == 0)
|
||||
iPhoneScreenOrientationValue = orientations;
|
||||
else
|
||||
iPadScreenOrientationValue = orientations;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue