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:
parent
22fa992187
commit
a2ed4e3ffd
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue