Fix missing call to super analyzer warning

This is flagged up in Xcode 6's shallow analyzer check.
This commit is contained in:
Daniel Tull 2014-08-04 19:37:45 +01:00
parent 1678d7550a
commit cc34cfece8

View File

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