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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -