0
我希望有人也許能夠幫助,我是新太Xcode和一直在努力不懈地執行在網頁視圖以下URL並沒有多少運氣:URL的WebView斯威夫特的Xcode 7
http://view.vzaar.com/5532785/player
以下是代碼:
進口的UIKit
類的ViewController:UIViewController的{
@IBOutlet weak var webView: UIWebView!
override func viewDidLoad() {
super.viewDidLoad()
let url = NSURL (string: "http://view.vzaar.com/5532785/player")
let requestObj = NSURLRequest(URL: url!);
webView.loadRequest(requestObj)
// Do any additional setup after loading the view.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}
任何建議將非常感激。
喬恩
@JonAtkins,1)在左側(項目導航),2),然後在頂部選擇信息選項卡,3)添加鍵顯示IMG選擇項目名稱 –