iphone - How To animate image using uibuttons -


i have 3 uibuttons named 1,2 , 3 , right @ bottom of buttons have arrow image indicates current button pressed. want when press of button arrow starts animating , slides @ bottom of button pressed.

  • (void)setimage:(uiimage *)image forstate:(uicontrolstate)state;

and select uicontrolstate from

enum { uicontrolstatenormal       = 0,                        uicontrolstatehighlighted  = 1 << 0,                  // used when uicontrol ishighlighted set uicontrolstatedisabled     = 1 << 1, uicontrolstateselected     = 1 << 2,                  // flag usable app (see below) uicontrolstateapplication  = 0x00ff0000,              // additional flags available application use uicontrolstatereserved     = 0xff000000               // flags reserved internal framework use }; typedef nsuinteger uicontrolstate; 

Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -