Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ausername

macrumors newbie
Original poster
Hello, I am new to the the UIKit and objective-c in general. The problem I am having is that when I click on a test field, the keyboard opens, respectively. But when I click the "Done" button, the keyboard does not close. How can I close the keyboard?
 
You want to use the TextField's delegate.

Do you understand how delegation works? Delegation is used throughout UIKit (and Cocoa), so it would be very useful to understand how it all works.
 
Nope

Not really. Is there a way to do it without one? or could you show me how to do it with one?
 
Thanks

Well, that is true, didn't know they had any info on that. Well. Thanks for the link. 🙂
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.