uitextfield - iOS: Keyboard appear automatically in ios8 but not able to resign textfield -


keyboard appear automatically after received web service result in ios8.3 while using xcode6.3.1 / 6.3.2. work correctly in previous versions.

am using following code resign keyboard when touch inside of view

- (void)touchesbegan:(nsset *)touches withevent:(uievent *)event {     uitouch *touch = [touches anyobject];      cgpoint forgottxt_call = [touch locationinview:userfrgtpwdtxtfld];     bool isforgottxt = [userfrgtpwdtxtfld pointinside:forgottxt_call withevent:nil];      if (!isforgottxt)     {         [self.vew  endediting: yes];     } } 

enter image description here


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -