Skip to content

Commit

Permalink
Corrected notification name when removing observers
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGessner committed May 20, 2016
1 parent 0c8c48d commit 77c152c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JGProgressHUD/JGProgressHUD/JGProgressHUD.m
Expand Up @@ -816,7 +816,7 @@ - (void)dealloc {
}

- (void)removeObservers {
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIDeviceOrientationDidChangeNotification object:nil];
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidChangeStatusBarFrameNotification object:nil];

[[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardWillChangeFrameNotification object:nil];
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardDidChangeFrameNotification object:nil];
Expand Down

0 comments on commit 77c152c

Please sign in to comment.