From cc34cfece82d810bc21a5e1c4653ce07bd00a8c2 Mon Sep 17 00:00:00 2001 From: Daniel Tull Date: Mon, 4 Aug 2014 19:37:45 +0100 Subject: [PATCH] Fix missing call to super analyzer warning This is flagged up in Xcode 6's shallow analyzer check. --- Classes/BITImageAnnotationViewController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/BITImageAnnotationViewController.m b/Classes/BITImageAnnotationViewController.m index ed8aeff662..1406996471 100644 --- a/Classes/BITImageAnnotationViewController.m +++ b/Classes/BITImageAnnotationViewController.m @@ -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];