Friday, 15 April 2011

Xcode UIButton appear and disappear TitleLabel Value (button.titleLabel.hidden YES NO) -



Xcode UIButton appear and disappear TitleLabel Value (button.titleLabel.hidden YES NO) -

i have 1 uibutton value, when start app, titlelabel of button has been hidden “call” (button.titlelabel.hidden=yes).

i have connected button 1 ibaction (touchdown) when user press button appear value / “call” (button.titlelabel.hidden=no) , disappear 1 nstimer in 3 seconds after phone call (button.titlelabel.hidden=yes)

if press 1 time button work good, (appear , disappear) when press without release button , move outside area , homecoming within area of button value of title appear again. not work (button.titlelabel.hidden=yes)

i tested ibaction (drag enter, drag exit) in parallel forcefulness (button.titlelabel.hidden=yes) value of title appear. take out timer not working…

please help me.

thanks edit.

you must have created button via storyboard/xib. please check sent events right-clicking button , set touch down. should resolve problem. :)

xcode uibutton touch title

No comments:

Post a Comment