iphone - UIView with round corner and white border -


due uiprogresshud need access private api, hope construct uiview round corner , white border. know make corner round is:

view.layer.cornerradius = 5; 

but how make uiview has round corner , white border @ same time?

welcome comment

thanks interdev

using same layer object:

view.layer.borderwidth = 1; view.layer.bordercolor = [[uicolor whitecolor] cgcolor]; 

Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -