看板 [ MacDev ]
討論串[問題] UIButton image 翻轉
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者tom19830924 (Tom Hsu)時間11年前 (2013/10/30 16:20), 編輯資訊
0
0
1
內容預覽:
http://ppt.cc/9sk7. 雖然不是改Alpha, 不過原本想法有點接近, 還是要得取得Context. 照上面的Category. UIImage *image = [UIImage imageWithCGImage:[UIImage imageNamed:@"xxx.png"].CG
(還有485個字)

推噓1(1推 0噓 4→)留言5則,0人參與, 最新作者whitefur (白毛)時間11年前 (2013/10/29 15:41), 編輯資訊
0
1
0
內容預覽:
我把image做翻轉. 再設給UIButton. 達到"把UIButton的image翻轉的效果". UIImage *image = [UIImage imageWithCGImage:[UIImage imageNamed:@"xxx"].CGImage. scale:2.0. orientat
(還有192個字)
首頁
上一頁
1
下一頁
尾頁