Here is the standard way of getting user input and then using the input in your app.
UITextField works with the delegation pattern in Objective-C. That is, you need to designate an object to act “on behalf” of the text field object. In this video I show you how to use the UITextField to ask a user for input and then post the results to a label.