Subscribe ( )

iPhone Programming Tutorials

 

Forum

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

You must be logged in to post Login Register

Search 

Hide Keyboard when a field loses focus

User Post

6:48 am
October 21, 2008


fatron

Noob

posts 1

1

How do you hide a keyboard when a text field loses focus?  I don't see a way to do it within Interface Builder.  Is it possible to do within Interface Builder, or does it have to be done programatically?

Thanks

7:43 am
October 21, 2008


AdeC

iCoder

posts 17

2

This has been mentioned a few times in other threads and also in the comments of the tutorials.

You have to do it in code using

[txtControl resignFirstResponder];

Not the best explanation (Im still in the early stages of XCode) but its something for you to start with. If you can post back as and when you resolve your issue with your resolution that would help us all!



About the iCodeBlog forum

Currently Online:

8 Guests

Maximum Online: 44

Forums:

Groups: 2

Forums: 6

Topics: 328

Posts: 771

Members:

There are 730 members

There are 1 guests


Brandon has made 87 posts

Top Posters:

bobcubsfan - 54

crazyiez - 30

VertigoSol - 26

AdeC - 17

Uhu - 17

Administrator: Brandon | Moderators: VertigoSol


© - Version 3.1.4 (Build 357)