让我们说:
String
包含空字符串变量a
a
我该怎么做?
答案 0 :(得分:0)
来自第1页
let nextview = self.storyboard?.instantiateViewController(withIdentifier: "Page2Identifier") as! Page1Controller
nextview.prevscreen = a
self.navigationController?.pushViewController(nextview, animated: true)
第2页
var prevscreen = ""