Skip to content
UnivexDont edited this page Aug 1, 2017 · 2 revisions

#UDCornerTagView!

Introduce:This is a Angle of view that based on UIView.You set conerView‘s textColor、text、backGroundColor、font size。There are two style is left and right.Default is left.

#ScreenShot ScreenShot

#Sample Code let leftCornerView = UDCornerTagView.init(maxX: 100, lableHeight: 30) let rightCornerView = UDCornerTagView.init(maxX: 100, lableHeight: 30 , style: .right) leftCornerView.text = "Left" rightCornerView.text = "Right" leftCornerView.textColor = .white rightCornerView.textColor = .white leftCornerView.backgroundColor = UIColor.magenta leftCornerView.lableBackgroudColor = UIColor.green rightCornerView.backgroundColor = UIColor.orange rightCornerView.lableBackgroudColor = UIColor.brown