Browse Source

UIViewComponentPeer: Fix warning

v7.0.9
reuk 3 years ago
parent
commit
df45aaeb7b
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/native/juce_ios_UIViewComponentPeer.mm

+ 1
- 1
modules/juce_gui_basics/native/juce_ios_UIViewComponentPeer.mm View File

@@ -1926,7 +1926,7 @@ void Desktop::allowedOrientationsChanged()
{
UIApplication* sharedApplication = [UIApplication sharedApplication];
const NSUniquePtr<UIWindowSceneGeometryPreferences> preferences { [UIWindowSceneGeometryPreferencesIOS alloc] };
const NSUniquePtr<UIWindowSceneGeometryPreferencesIOS> preferences { [UIWindowSceneGeometryPreferencesIOS alloc] };
[preferences.get() initWithInterfaceOrientations: Orientations::getSupportedOrientations()];
for (UIScene* scene in [sharedApplication connectedScenes])


Loading…
Cancel
Save