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.
如何绘制一条通过 iOS 应用程序中的一组点的曲线路径(类似于下面显示的路径)。
UIBazierPath
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIBezierPath_class/Reference/Reference.html
您创建它,添加点以创建曲线,设置所需的虚线,然后使用- (void)stroke它来绘制它。
- (void)stroke