ios - Draw the frame on the button edge -
i have buttons. need mark of them. make frames. can realize it? can draw frame on buttons edge?
add quartzcore framework project. modify buttons follows:
#import <quartzcore/quartzcore.h> ......... button.layer.borderwidth = 5.0f; button.layer.bordercolor = [[uicolor blackcolor] cgcolor]; button.layer.cornerradius = 5.0; //optional, if need rounded corners
Comments
Post a Comment