Josh York
Josh York

Reputation: 411

UITextfields returning null in iOS 6

I just updated my dev system for iOS 6 and when I was testing a app I built I am now just getting (null) from my UITextfields.

Here is a example of what I am doing: NSString *email = usernameField.text;

After typing in that textfield and returning what I typed I only get (null)

What am I missing with iOS 6 here?

Upvotes: 0

Views: 608

Answers (1)

Josh York
Josh York

Reputation: 411

Figured it out. I forgot to synthesize the textfields for that view. They worked fine without it before but iOS 6 seems to be stricter with it.

Upvotes: 1

Related Questions