0
如何獲取整頁webview的正確框架減去導航欄。獲取整頁WebView的框架減去UINavigationBar
我想這
CGRect screenFrame = [[UIScreen mainScreen]bounds];
webView = [[UIWebView alloc]initWithFrame:CGRectMake(0, 0, screenFrame.size.width, screenFrame.size.height-self.navigationController.navigationBar.bounds.size.height)];
但是,當我向下滾動滾動條被切斷。它看起來像webView的框架高度仍然太大。從導航控制器加入