diff options
author | Joseph Heenan <joseph@emobix.co.uk> | 2014-10-02 19:52:46 +0200 |
---|---|---|
committer | Joseph Heenan <joseph@emobix.co.uk> | 2014-10-04 08:11:35 -0500 |
commit | 58653cd174e2daa00896f042bfec3e33a0effff2 (patch) | |
tree | 0654c3578c67a0ab470e2714fb683fead41a11a3 /platform/ios/Classes/MuLibraryController.m | |
parent | a58af9fc29f9d8f86f932d0bdd72ead9217637b7 (diff) | |
download | mupdf-58653cd174e2daa00896f042bfec3e33a0effff2.tar.xz |
iOS: Add missing [super viewWillAppear/Disappear] calls
Spotted by xcode6 analyser
Diffstat (limited to 'platform/ios/Classes/MuLibraryController.m')
-rw-r--r-- | platform/ios/Classes/MuLibraryController.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/ios/Classes/MuLibraryController.m b/platform/ios/Classes/MuLibraryController.m index 33907a63..2e3c5d2e 100644 --- a/platform/ios/Classes/MuLibraryController.m +++ b/platform/ios/Classes/MuLibraryController.m @@ -25,6 +25,7 @@ static void showAlert(NSString *msg, NSString *filename) - (void) viewWillAppear: (BOOL)animated { + [super viewWillAppear:animated]; [self setTitle: @"PDF, XPS and CBZ Documents"]; [self reload]; printf("library viewWillAppear (starting reload timer)\n"); @@ -36,6 +37,7 @@ static void showAlert(NSString *msg, NSString *filename) - (void) viewWillDisappear: (BOOL)animated { + [super viewWillDisappear:animated]; printf("library viewWillDisappear (stopping reload timer)\n"); [timer invalidate]; timer = nil; |