iphone - Unable to resign keyboard when using PopOver -


in ipad app there 3 textboxes using popoverview controller on second text box. here 2 cases

in first case:

as finish editing first textbox , click next button on keyboard time keyboard resigning , popoverview controller opened on second text box.here had written code when next button of first textbox click @ time second textbox should became firstresponder.

in second case:

here actual problem, when finish editing first textbox , directly touches second textbox without clicking next button on keyboard, time popoverview controller menu opened on second textbox , keyboard unable resign , keyboard strucking on code resigning keyboard not working.

write code used on next button event of keyboard in bellow method...

- (bool)textfieldshouldendediting:(uitextfield *)textfield {     if (textfield == yourfirsttextbox) {        // write code here        }     return yes; } 

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -