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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -