Fix for CB-10102

The removeObserver code was wrong and it might crash on plugin
deallocation

github: close #45
diff --git a/src/ios/CDVStatusBar.m b/src/ios/CDVStatusBar.m
index 7e071b2..4077e36 100644
--- a/src/ios/CDVStatusBar.m
+++ b/src/ios/CDVStatusBar.m
@@ -468,7 +468,7 @@
 - (void) dealloc
 {
     [[UIApplication sharedApplication] removeObserver:self forKeyPath:@"statusBarHidden"];
-    [[NSNotificationCenter defaultCenter] removeObserver:self forKeyPath:UIApplicationDidChangeStatusBarFrameNotification];
+    [[NSNotificationCenter defaultCenter]removeObserver:self name:UIApplicationDidChangeStatusBarOrientationNotification object:nil];
 }