iphone:用所有触摸进行绘画/绘图?

发布于 2024-11-18 19:24:43 字数 135 浏览 5 评论 0原文

如何同时用 4 个手指进行绘画?我需要 UI 来交互并响应所有触摸。

我见过大多数像 GLPaint 和 GLPaint 这样的应用程序。还有更多只响应 1 次触摸的绘画应用程序。

有人知道我怎样才能用所有的笔触进行绘画吗?

How can I paint with with 4 fingers simultaneously. I need UI to interact and respond to all touches.

I have seen most of the Apps like GLPaint & many more painting apps which only respond to 1 touch.

Anyone have idea how can I paint with all touches ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谁许谁一生繁华 2024-11-25 19:24:43

我认为您可以使用 UIPanGestureRecognizer

UIPanGestureRecognizer is a concrete subclass of UIGestureRecognizer that looks for panning (dragging) gestures.The user must be pressing one or more fingers on a view while they pan it.

使用:

multipleTouchEnabled = YES;
delaysTouchesBegan = YES;

I think that you can use UIPanGestureRecognizer

UIPanGestureRecognizer is a concrete subclass of UIGestureRecognizer that looks for panning (dragging) gestures.The user must be pressing one or more fingers on a view while they pan it.

Use :

multipleTouchEnabled = YES;
delaysTouchesBegan = YES;
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文