wes. i
wes. i

Reputation: 628

Program UIButton on swift

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.

Upvotes: 0

Views: 125

Answers (1)

Kratos
Kratos

Reputation: 84

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

Upvotes: 1

Related Questions