我使用swift 3在xcode中创建了一个应用程序,但页面内容不滚动。 这是代码
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
let url = URL(string: "https://www.website.com");
let response = URLRequest(url: url!)
webView.loadRequest(response)
webView.scalesPageToFit = true
webView.isUserInteractionEnabled = true
webView.scrollView.isScrollEnabled = true
}
以下是设置屏幕截图https://www.dropbox.com/s/hckond368czbk0c/Screenshot%202017-03-22%2022.49.09.png?dl=0