开发者

rotating circled View with user interaction

开发者 https://www.devze.com 2023-02-19 00:17 出处:网络
Is it possible to开发者_如何学编程 rotate a view as in circle form by animation in iPhone. here to mention that must be interactive as user will interact with icons on it.. :P Yes, using CGAffineTrans

Is it possible to开发者_如何学编程 rotate a view as in circle form by animation in iPhone. here to mention that must be interactive as user will interact with icons on it.. :P


Yes, using CGAffineTransformMakeRotation. For example:

view.transform = CGAffineTransformMakeRotation(M_PI);
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号