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]; } }
Comments
Post a Comment