iOS7の問題を解決したいstatusBar。この投稿を見つけましたが、このソリューションは Xcode 5 でうまく機能します。しかし、Xcode 4.6.3 でこのコードを試したところ、2 つのエラーが発生しました。
- No visible @interface for 'MyController' declares the selector 'setNeedsStatusBarAppearanceUpdate';
- Use of undeclared identifier 'UIStatusBarStyleLightContent'.
最初の問題はこのコードを使用して解決されました[self performSelector:@selector(setNeedsStatusBarAppearanceUpdate)];が、2 番目のエラーを解決できません。