0
嗨我正在使用此擴展how to set cornerRadius for only top-left and top-right corner of a UIView?將輪廓角應用到我的UIViews,但是,在更新到swift 3.0後,擴展停止對出現在其他視圖頂部的UIViews工作。我的角落半徑只適用於一個角落
嗨我正在使用此擴展how to set cornerRadius for only top-left and top-right corner of a UIView?將輪廓角應用到我的UIViews,但是,在更新到swift 3.0後,擴展停止對出現在其他視圖頂部的UIViews工作。我的角落半徑只適用於一個角落
將這個行之前在控制器內所有...layer.cornerRadius =
行權:
self.view.layoutIfNeeded()
我有同樣的問題,激活「剪輯到邊界」在故事板
而且它的.topRight角落 – Slavik