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

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

c# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -