开发者

dial movement for compass in iphone

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜