捏合手势和单点触摸
我有几个问题,
1)我在视图上有一个 UIImageView 控件。我想添加捏合手势以允许放大和缩小。
2)我需要将附加图像放置在基本图像之上,这些图像不需要缩放,但它们需要保留在放置在基本图像上的原始位置。
现在的问题是......
如何测试单次触摸和拖动,同时寻找基础图像的捏合和拉伸手势?
感谢大家对此提供的帮助。
保重
托尼
I have a couple of questions,
1) I have a UIImageView control on a view. I would like to add the pinch gesture to allow zooming in and out.
2) I have the requirement to drop additional images on top of the base image, these images do not need to zoom, but they will need to remain in the original location that they were placed on the base image.
Now the question is this....
How do I test for a single touch and drag around, while also looking for a pinch and stretch gesture for the base image?
Thanks for everyone helps on this.
take care
tony
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 viewdidload 中添加此内容:
您将拉伸到基本图像。
Add this in viewdidload:
Your will get stretch to your base image.