Autolayout vs. View Transforms

http://stackoverflow.com/questions/12943107/how-do-i-adjust-the-anchor-point-of-a-calayer-when-auto-layout-is-being-used

設置要旋轉或放縮的view的translatesAutoresizingMaskIntoConstraints =YES

即可解決在使用了autolayout時進行仿射變換無效的情況


發佈了65 篇原創文章 · 獲贊 11 · 訪問量 14萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章