iPhone:如何在其他图像上移动图像? [英] iPhone : How can I move image on other image?

查看:120
本文介绍了iPhone:如何在其他图像上移动图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在其他图片上添加小剪贴画。

I want to add small clip art on other image.

我知道我可以通过在背景imageView上添加其他imageView。

I know that I can do this by adding other imageView on the background imageView.

但我想移动(拖动)图像上的剪贴画。

But I want to move(drag) on the clip art on the image.

也可以缩放剪贴画图像喜欢放大或缩小?如何?

Is it also possible to scale clip art image like zoom in or out? How?

我该如何做?

推荐答案

请查看手势识别器:Apple提供了许多非常容易实现的标准手势。

Take a look at Gesture Recognizers: Apple provides numerous "standard" gestures that are extremely simple to implement.

这里的要点是,您可以将所需的手势识别器应用于剪贴画图像视图,以提供拖动,调整大小等功能。

The gist here is that you would apply the desired gesture recognizers to the clip art image view to provide drag, resize, etc functionality.

这篇关于iPhone:如何在其他图像上移动图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆