Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
skywinder committed Dec 9, 2019
1 parent 1f9ccbd commit b23f784
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Pickers/SWActionSheet.m
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,13 @@ - (void)presentActionSheetAnimated:(BOOL)animated
}
}

-(NSUInteger)supportedInterfaceOrientations{
return [self.actionSheet getMasking];
#if __IPHONE_OS_VERSION_MAX_ALLOWED < 90000
- (NSUInteger)supportedInterfaceOrientations
#else
- (UIInterfaceOrientationMask)supportedInterfaceOrientations
#endif
{
return (NSUInteger) [self.actionSheet getMasking];
}

- (BOOL)prefersStatusBarHidden {
Expand Down

0 comments on commit b23f784

Please sign in to comment.