When I try to get the text of a UITextField it returns a random integer. Here's the code I used:
NSLog(@"Field Text: %d", field.text);
field
being the UITextField. And in the debugger it returns an random number, for example 29876208
when there is text in the UITextField.