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

deepamalini

macrumors newbie
Original poster
Nov 12, 2008
4
0
Hi,

I have a uitextfield with keyboard type as UIKeyboardTypePhonePad. There is no return or done button in the keypad.I used a uibutton filed and invoked the method and inside that method i used the code [txtfield resignFirstResponder], it didnt work out. Is there a way to resign the keyboard?
 

deepamalini

macrumors newbie
Original poster
Nov 12, 2008
4
0
Hi,

I am using the code to create the textfield. I solved the problem. I was having the uibutton in the view cell so i didnt work.. Now I just used the navigation button and added the resignfirstresponder method in the calling method..It started working.

Thank you for all your response.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.