1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

UIViewComponentPeer: Use correct return type for supportedInterfaceOrientations

This commit is contained in:
reuk 2025-10-30 19:40:59 +00:00
parent 22fa992187
commit a2ed4e3ffd
No known key found for this signature in database

View file

@ -353,10 +353,10 @@ struct CADisplayLinkDeleter
- (JuceUIViewController*) init; - (JuceUIViewController*) init;
- (NSUInteger) supportedInterfaceOrientations;
- (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation) interfaceOrientation; - (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation) interfaceOrientation;
- (void) willRotateToInterfaceOrientation: (UIInterfaceOrientation) toInterfaceOrientation duration: (NSTimeInterval) duration; - (void) willRotateToInterfaceOrientation: (UIInterfaceOrientation) toInterfaceOrientation duration: (NSTimeInterval) duration;
- (void) didRotateFromInterfaceOrientation: (UIInterfaceOrientation) fromInterfaceOrientation; - (void) didRotateFromInterfaceOrientation: (UIInterfaceOrientation) fromInterfaceOrientation;
- (UIInterfaceOrientationMask) supportedInterfaceOrientations;
- (void) viewWillTransitionToSize: (CGSize) size withTransitionCoordinator: (id<UIViewControllerTransitionCoordinator>) coordinator; - (void) viewWillTransitionToSize: (CGSize) size withTransitionCoordinator: (id<UIViewControllerTransitionCoordinator>) coordinator;
- (BOOL) prefersStatusBarHidden; - (BOOL) prefersStatusBarHidden;
- (UIStatusBarStyle) preferredStatusBarStyle; - (UIStatusBarStyle) preferredStatusBarStyle;
@ -621,7 +621,7 @@ MultiTouchMapper<UITouch*> UIViewComponentPeer::currentTouches;
return self; return self;
} }
- (NSUInteger) supportedInterfaceOrientations - (UIInterfaceOrientationMask) supportedInterfaceOrientations
{ {
return Orientations::getSupportedOrientations(); return Orientations::getSupportedOrientations();
} }