iphone - How to catch if an view or UITextField enters editing mode? -


i've subclassed uitextfield , inside that, need know if text field in editing mode or not. when editing mode changes yes/no need notified somehow. tried overwrite setter of editing property, doesn't seem work. there else?

you can event in textfield's delegate using textfielddidbeginediting: method.

alternatively can add observer listen uitextfieldtextdidbegineditingnotification notification.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -