ImageView 旋转在 collectionView 单元格内无法正常工作

ImageView rotation is not working properly inside the collectionView cell

ImageView 旋转在 collectionView 单元格内无法正常工作,但在 collectionView 外部可以正常工作 good.It ver stretched & very thin like that it working inside collection view

这是我得到的代码和屏幕.. 对于集合视图中的图像视图

imgView.transform=CGAffineTransformMakeRotation([dict[@"SomeValue"]longValue]*M_PI/180);

单元格 0 单元格 1 单元格 2

集合视图之外。

imageView.transform=CGAffineTransformMakeRotation([dict[@"SomeValue"]longValue]*M_PI/180);

我不知道为什么它在集合视图中无法正常工作帮助我

检查图片大小。

更改内容模式