Skip to content

Commit eb3350a

Browse files
committed
Merge pull request #356 from mambaru/remove_ios6
Replaced iOS 6 deprecated rotation method with new one
2 parents 8011f98 + 7ef1405 commit eb3350a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MMDrawerController/MMDrawerController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ -(void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInter
794794
}
795795
}
796796

797-
-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation{
797+
-(BOOL)shouldAutorotate{
798798
return YES;
799799
}
800800

0 commit comments

Comments
 (0)