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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -