Reputation: 509
I have a View Controller which I add a round rect button to in storyboard. The application is working well and I also connected the button to a segue using the storyboard. I am trying to set a custom image for this button for it on&off states. How do i access this button and set it's properties? (in this case the on & off images)
Upvotes: 16
Views: 17566
Reputation: 7410
Here is a screenshot :
Set your button type to Custom, and change the image for all the states (choose a state, then choose the image, repeat for each state).
Upvotes: 18