Custom UIControl ProTip
UIImage *image = [UIImage imageNamed:[NSString stringWithFormat:@"checkboxbutton-%@able.png", self.checked ? @"en" : @"dis"]];
Written by Alejandro Rupérez
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ios
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#