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.
当用户在笔画结束时将铅笔放在一个地方时,我想实现一些东西来拉直线条,但是在他们从 iPad 上释放铅笔之前,我无法访问 PKStrokes 进行修改。苹果在他们的应用程序中的版本改变了铅笔被抬起之前的笔触。我试过实现一个长按手势识别器,但似乎没有被调用。
有没有人成功地做到了这一点?我可能遗漏了一些非常简单的东西,但似乎 canvasView 正在拦截所有内容。
谢谢!