Xcode 5 Round Rect Buttons

后端 未结 7 501
借酒劲吻你
借酒劲吻你 2021-01-30 06:56

I have an app that incorporates many round rect buttons. However, in xcode 5, those dont exist. How do I get the round rect buttons back? They are essential to my app. Now it ju

相关标签:
7条回答
  • 2021-01-30 07:23

    In Swift 3: we can added it viewdidload

      button.layer.cornerRadius = 0.5*button.bounds.size.width
      button.clipsToBounds = true
    
    0 讨论(0)
提交回复
热议问题