File tree Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ - (BOOL)shouldAutorotate
63
63
return YES ;
64
64
}
65
65
66
- - (NSUInteger )supportedInterfaceOrientations
66
+ - (UIInterfaceOrientationMask )supportedInterfaceOrientations
67
67
{
68
68
if ((self.orientationDelegate != nil ) && [self .orientationDelegate respondsToSelector: @selector (supportedInterfaceOrientations )]) {
69
69
return [self .orientationDelegate supportedInterfaceOrientations ];
@@ -72,14 +72,4 @@ - (NSUInteger)supportedInterfaceOrientations
72
72
return 1 << UIInterfaceOrientationPortrait;
73
73
}
74
74
75
- - (BOOL )shouldAutorotateToInterfaceOrientation : (UIInterfaceOrientation)interfaceOrientation
76
- {
77
- if ((self.orientationDelegate != nil ) && [self .orientationDelegate respondsToSelector: @selector (shouldAutorotateToInterfaceOrientation: )]) {
78
- return [self .orientationDelegate shouldAutorotateToInterfaceOrientation: interfaceOrientation];
79
- }
80
-
81
- return YES ;
82
- }
83
-
84
-
85
75
@end
Original file line number Diff line number Diff line change @@ -1227,7 +1227,7 @@ - (BOOL)shouldAutorotate
1227
1227
return YES ;
1228
1228
}
1229
1229
1230
- - (NSUInteger )supportedInterfaceOrientations
1230
+ - (UIInterfaceOrientationMask )supportedInterfaceOrientations
1231
1231
{
1232
1232
if ((self.orientationDelegate != nil ) && [self .orientationDelegate respondsToSelector: @selector (supportedInterfaceOrientations )]) {
1233
1233
return [self .orientationDelegate supportedInterfaceOrientations ];
@@ -1236,14 +1236,4 @@ - (NSUInteger)supportedInterfaceOrientations
1236
1236
return 1 << UIInterfaceOrientationPortrait;
1237
1237
}
1238
1238
1239
- - (BOOL )shouldAutorotateToInterfaceOrientation : (UIInterfaceOrientation)interfaceOrientation
1240
- {
1241
- if ((self.orientationDelegate != nil ) && [self .orientationDelegate respondsToSelector: @selector (shouldAutorotateToInterfaceOrientation: )]) {
1242
- return [self .orientationDelegate shouldAutorotateToInterfaceOrientation: interfaceOrientation];
1243
- }
1244
-
1245
- return YES ;
1246
- }
1247
-
1248
-
1249
1239
@end // CDVWKInAppBrowserViewController
You can’t perform that action at this time.
0 commit comments