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