6

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.

enter image description here

user403015
  • 7,209
  • 19
  • 66
  • 100

1 Answers1

10

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.

omz
  • 53,243
  • 5
  • 129
  • 141