Reputation: 7227
I want to make a checkmark UIButton in iOS like the second icon in the enclosed image.
Does Apple provide this checkmark button in the SDK ?
Any suggestion to make a checkmark UIButton ?
Thanks.
Upvotes: 6
Views: 6502
Reputation: 53561
No, there isn't a built-in checkmark button type. You'll have to use UIButtonTypeCustom
and provide your own images for the different control states by calling setBackgroundImage:forControlState:
. You could use the UIKit Artwork Extractor tool to get at the original images, but doing so may lead to a rejection.
Upvotes: 10