gpt4 book ai didi

ios - iS 旋转 View CGAffineTransformMakeRotation

转载 作者:行者123 更新时间:2023-12-01 19:21:01 24 4
gpt4 key购买 nike

如何使用 CGAffineTransformMakeRotation 手动将 View 旋转 180 度?

最佳答案

UIView *myView = [[UIView alloc] init];
[myView setTransform:CGAffineTransformMakeRotation(M_PI)];

关于ios - iS 旋转 View CGAffineTransformMakeRotation,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10365898/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com