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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With