Cocoa Touch: How To Change UIView's Border Color And Thickness?

后端 未结 14 1102
心在旅途
心在旅途 2020-11-30 16:56

I saw in the inspector that I can change the background color, but I\'d like to also change the border color and thickness, is this possible?

14条回答
  •  北荒
    北荒 (楼主)
    2020-11-30 17:20

    If you want to add different border on different sides, may be add a subview with the specific style is a way easy to come up with.

提交回复
热议问题