Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用核心绘图库绘制了饼图。但问题是我想像在 Roambi 应用程序中那样以顺时针和逆时针方向旋转饼图。
谁能建议我我该怎么做。
任何人的帮助将不胜感激。
谢谢,莫尼什。
CGAffineTransformMakeRotation(degreesToRadians(M_PI * 90 / 180.0)); // clockwise CGAffineTransformMakeRotation(degreesToRadians(-M_PI * 90 / 180.0)); // anti-clockwise