先定义一个public 变量public UILable lable;然后把INPUT的LABLE拽到lable上,这个应该会吧。然后 lable.text 就是文本内容,if(button){ 弹出window; window.text = lable.text;}就这样就行了,上面的是伪代码。