statusBar for iOS7 in Xcode 4.6
I want to resolve issue with statusBar in iOS7. I have found this post and
this solution works great in Xcode 5. But when I tried this code in Xcode
4.6.3 I got 2 errors:
No visible @interface for 'MyController' declares the selector
'setNeedsStatusBarAppearanceUpdate';
Use of undeclared identifier 'UIStatusBarStyleLightContent'.
The first problem was solved by using this code: [self
performSelector:@selector(setNeedsStatusBarAppearanceUpdate)]; but I can't
resolve the second error.
No comments:
Post a Comment