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
Post a Comment