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

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

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -