1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +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;
- (NSUInteger) supportedInterfaceOrientations;
- (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation) interfaceOrientation;
- (void) willRotateToInterfaceOrientation: (UIInterfaceOrientation) toInterfaceOrientation duration: (NSTimeInterval) duration;
- (void) didRotateFromInterfaceOrientation: (UIInterfaceOrientation) fromInterfaceOrientation;
- (UIInterfaceOrientationMask) supportedInterfaceOrientations;
- (void) viewWillTransitionToSize: (CGSize) size withTransitionCoordinator: (id<UIViewControllerTransitionCoordinator>) coordinator;
- (BOOL) prefersStatusBarHidden;
- (UIStatusBarStyle) preferredStatusBarStyle;
@ -621,7 +621,7 @@ MultiTouchMapper<UITouch*> UIViewComponentPeer::currentTouches;
return self;
}
- (NSUInteger) supportedInterfaceOrientations
- (UIInterfaceOrientationMask) supportedInterfaceOrientations
{
return Orientations::getSupportedOrientations();
}