开发者

Getting string from text box in xcode

I am new to xcode. I have one string variable and one text box. I want to get the strings from the text box to the stri开发者_JAVA技巧ng variable. How can I do this?


You can just get the text property of the text box (I assume you mean a UITextField).

NSString *myString = myTextField.text;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜