Your application may have a CheckBox control that you want to customize the appearance of. In this article, we are going to look at how you can customize the appearance of your UI CheckBox Control programmatically.
- By default, your application's UI is designed for two different types of CheckBox:
- The standard rectangular shape with a blue checkmark on the left and an X through it on the right. A rounded rectangle with rounded corners and a red checkmark on top and an X through it on the bottom.
- To see if these are available in your application’s design, you can use the following code snippet:
- UICheckBox *checkbox = [UICheckBox buttonWithType:UIButtonTypeCustom]; checkbox setBackground
Share a personalized message with your friends.