Reputation: 43
I need to make something like this (rectangles mean various pictures):
I know that it is possible to do this by making one image from two and assigning it to a UIButton. But is there another way to do it by using insets?
Upvotes: 1
Views: 321
Reputation: 100591
If you want the "button pressed" highlighted state for both images you could
button1.highlighted
& button2.highlighted = ((UIButton*)sender).highlighted
Upvotes: 1