Due to UIProgressHUD need to access private api, so I hope to construct an UIView with round corner and white border. I know to make the corner round is:
UIProgressHUD
UIView
view.layer.cornerRadius = 5;
But how to make the uiview has round corner and white border at the same time?
Welcome any comment
Thanks interdev
Using the same layer object:
view.layer.borderWidth = 1; view.layer.borderColor = [[UIColor whiteColor] CGColor];
1.4m articles
1.4m replys
5 comments
57.0k users