Fix double invocation of [super viewWillDisappear]

This commit is contained in:
Andreas Linde
2015-02-22 22:31:04 +01:00
parent 33864d381c
commit 42b90a4c5f

View File

@@ -136,9 +136,8 @@ typedef NS_ENUM(NSInteger, BITImageAnnotationViewControllerInteractionMode) {
- (void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIDeviceOrientationDidChangeNotification object:nil];
[super viewWillDisappear:animated];
}
- (BOOL)prefersStatusBarHidden {