2 我正在繪製圖表,我想在calayers上添加按鈕。這個紅色和藍色的形狀是CAShaperlayer。我用uibezier路徑繪製這些圖層。如何設置UIbutton的點像像cashapelayer一樣的形狀 來源 2016-03-25 Himanshu jamnani +1 檢查:http://iphonedevelopment.blogspot.in/2010/03/irregularly-shaped-uibuttons.html –
0 下面是好的庫來解決你的問題之一。 You can download the source code from here. Check into appetize.io 來源 2016-03-25 10:17:53
檢查:http://iphonedevelopment.blogspot.in/2010/03/irregularly-shaped-uibuttons.html –