imzyf / ios-swift-learning-notes

📝 iOS Swift Learning Notes - see Issues
MIT License
0 stars 0 forks source link

UIWebView 右侧 底部滚动条 滚动边界黑色背景 #66

Open imzyf opened 6 years ago

imzyf commented 6 years ago
        let webView = UIWebView()
        webView.scrollView.showsVerticalScrollIndicator = false
        webView.scrollView.showsHorizontalScrollIndicator = false

        webView.scrollView.bounces = false

        webView.backgroundColor = .clear