Increase frequency calls of touchesMoved

守給你的承諾、 提交于 2019-12-06 07:25:32

问题


Is there a way to increase the frequency calls of touchesMoved than the default? I need more calls of it to draw a smooth circle. It gets called not too frequent by default and so I get an edgy circle. Is there a way to tweek the frequency of touchesMoved calls?

Thanks


回答1:


I think this is what you are looking for:

UIBezierPath

It comes with code examples, etc.



来源:https://stackoverflow.com/questions/2702305/increase-frequency-calls-of-touchesmoved

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!