开发者

dial movement for compass in iphone

开发者 https://www.devze.com 2023-03-03 17:13 出处:网络
I got a magnetic heading value from a compass. Now I need to rotate the needle based on the heading(angle) from that. Please someon开发者_StackOverflowe guide me how to do this.

I got a magnetic heading value from a compass. Now I need to rotate the needle based on the heading(angle) from that. Please someon开发者_StackOverflowe guide me how to do this.

Thanks Prior...


You can always transform (rotate) your layer (compass) with CGAffineTransformMakeRotation. For further reference take a look at this question.

0

精彩评论

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