Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 44c861e

Browse files
Ignacio Romero ZurbuchenIgnacio Romero
authored andcommitted
Uses the iOS 9 macro on the method name only, no need to wrap its implementation too.
1 parent b185d5a commit 44c861e

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Source/Classes/SLKTextViewController.m

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,15 +2147,12 @@ - (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrie
21472147

21482148
#ifdef __IPHONE_9_0
21492149
- (UIInterfaceOrientationMask)supportedInterfaceOrientations
2150-
{
2151-
return UIInterfaceOrientationMaskAll;
2152-
}
21532150
#else
21542151
- (NSUInteger)supportedInterfaceOrientations
2152+
#endif
21552153
{
21562154
return UIInterfaceOrientationMaskAll;
21572155
}
2158-
#endif
21592156

21602157
- (BOOL)shouldAutorotate
21612158
{

0 commit comments

Comments
 (0)