标签归档:webview

swift加载浏览器

swift加载浏览器 页面上拉个控件 @IBOutlet weak var web: UIWebView! override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from a nib. var url = NSURL(string: "http://baidu.com"); var request = NSURLRequest(URL: url!); web.loadRequest(request); } 纯代码实现 var webView … 继续阅读

发表在 Xcode | 标签为 , , | 留下评论