Author Topic: How to keep UIImageButton in 'Pressed' state  (Read 4546 times)

Itchigon

  • Guest
How to keep UIImageButton in 'Pressed' state
« on: February 04, 2013, 11:58:42 AM »
I have three states for my Image Buttons, Idle, Hover and Pressed. When the user clicks on the button I would like it to stay in the 'Pressed' state so that the particular change of colour I have for it stays there.

An example is the image below, there is a blue outline which is shown when the user clicks on the image button and I would like it to stay like this so the user can see their selection.


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to keep UIImageButton in 'Pressed' state
« Reply #1 on: February 04, 2013, 07:34:19 PM »
Use the UICheckbox component (poorly named, should be UIToggle).