We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e1f007 commit eed31e1Copy full SHA for eed31e1
ECSlidingViewController/ECSlidingViewController.m
@@ -193,6 +193,10 @@ - (void)viewDidLayoutSubviews {
193
}
194
195
196
+- (BOOL)shouldAutorotate {
197
+ return self.currentOperation == ECSlidingViewControllerOperationNone;
198
+}
199
+
200
- (BOOL)shouldAutomaticallyForwardAppearanceMethods {
201
return NO;
202
@@ -841,6 +845,7 @@ - (void)completeTransition:(BOOL)didComplete {
841
845
self.currentAnimationPercentage = 0;
842
846
self.currentOperation = ECSlidingViewControllerOperationNone;
843
847
self.transitionInProgress = NO;
848
+ [UIViewController attemptRotationToDeviceOrientation];
844
849
850
851
- (UIViewController *)viewControllerForKey:(NSString *)key {
0 commit comments