I got a magnetic heading value from a compass. Now I need to rotate the needle based on the heading(angle) from that. Please someone guide me how to do this.
Thanks Prior...
I got a magnetic heading value from a compass. Now I need to rotate the needle based on the heading(angle) from that. Please someone guide me how to do this.
Thanks Prior...
您始终可以使用 CGAffineTransformMakeRotation 转换(旋转)您的图层(指南针)。如需进一步参考,请查看此问题。