第一个页面
func pushView(){
let secondVC = secondViewController()
secondVC.titleGo = "百度一下"
secondVC.address = "https://www.baidu.com"
self.performSegue(withIdentifier: "secondViewController", sender: self)
print("======")
}
第二个:
var address = String()
var titleGo = String()
var webView = WKWebView()
override func viewDidLoad() {
itemBar.title = titleGo
print("======+\(titleGo)")
label.title = address
print("++++++=\(address)")
}