Fir*_*ejs 2 variables objective-c textfield ios
textfield和integer变量的问题.我使用textfield写一个数字,在函数中我使用这个数字.
int changeid = [idchoice text];
但我必须重新打字,怎么样?
Aur*_*ila 9
int changeid = [idchoice.text intValue];
完成.
归档时间:
14 年,8 月 前
查看次数:
4420 次
最近记录:
12 年,11 月 前