私のアプリには、すべてのアクティビティが行われている UIWebview があります。アプリは ios6 で完璧に動作しますが、iOS 7 では UIwebview コンテンツがステータス バーと衝突します。
これを正しく表示するように UIWindow のビューを設定する方法はありますか。
if([[[UIDevice currentDevice] systemVersion] integerValue] >= 7) {
if (self.window.rootViewController.view.frame.origin.y <=0) {
screenBounds = CGRectMake(0, 20, self.window.bounds.size.width, self.window.bounds.size.height-20);
}
}
self.window.rootViewController = self.viewController;
Thanks,