Merge pull request #110 from danielctull-forks/fix-missing-call-to-super

Fix missing call to super analyzer warning
This commit is contained in:
Andreas Linde 2014-08-04 20:51:06 +02:00
commit c8a3830ce3

View File

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