how to rotate UIIMageVIew with fix point?

后端 未结 3 566
时光取名叫无心
时光取名叫无心 2021-01-15 11:52

I want to rotate image on angle.But i wnt to rotate image with fix point.How can i set this fix point?

3条回答
  •  情歌与酒
    2021-01-15 12:39

    imageView.layer.anchorPoint = CGPointMake(.5,.5); for get this you need to import following header file

    #import 
    

提交回复
热议问题