0

i have created a button on main.storyboard and i can add IBAction too. But, my aim is to make a sticky button(after you clicked once it is stayed pressed until you click it again) can somebody suggest please.

6

1 Answer 1

1

Set Image in selected state of uiButton, means you need two image one for unselected and another for selected

1
  • yup, problem solved by changing the background colour! Thanks by the way =)
    – wes. i
    Oct 15, 2015 at 6:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.