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

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -