Tuesday, 15 March 2011

iphone - Keyboard not resigning second time? -



iphone - Keyboard not resigning second time? -

keyboard not resigning sec time on same textfield. used uitextfielddelegate. ex: come in in name textfield , resign keyboard. clicked in mobileno field entered something. time keyboard not resigning.

-(bool)textfieldshouldreturn:(uitextfield *)textfield { [textfield resignfirstresponder]; homecoming yes; }

make delegate of mobileno

mobileno.delegate=self;

or if using xib create outlet connection of delegate

iphone ios objective-c xcode ios6

No comments:

Post a Comment