diff --git a/CTAssetsPickerController/CTAssetsPickerController.m b/CTAssetsPickerController/CTAssetsPickerController.m index 19413d4b..a79d106d 100644 --- a/CTAssetsPickerController/CTAssetsPickerController.m +++ b/CTAssetsPickerController/CTAssetsPickerController.m @@ -97,7 +97,10 @@ - (void)viewDidLoad - (void)dealloc { + @try{ [self removeKeyValueObserver]; + }@catch(id anException){ + } } - (UIViewController *)childViewControllerForStatusBarStyle