简体   繁体   中英

How to set a text field up with c#

I am creating an ios app and in visual studio using storyboard. I have created a text field and I want to let the userName = what ever the user inputs. I am using c#.

You can create a textbox to achieve the user inputting.

Like the following:

string username = textBox1.Text;

If you want to know more about how it work in an ios app, you can refer to Hello, iOS – Quickstart .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM