在 UIScrollView 中裁剪 UIImage 就像在“移动和缩放"中一样; [英] Crop UIImage in UIScrollView like in "Move And Scale"

查看:59
本文介绍了在 UIScrollView 中裁剪 UIImage 就像在“移动和缩放"中一样;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 UIImagePickerController 中创建自定义的移动和缩放"视图?我需要移动和缩放我的自定义 UIImages,而不是来自照片库.或者也许有办法将 UIImage 传递给这个视图?

How to create custom "Move and scale" view as in UIImagePickerController? I need move and scale my custom UIImages, not from Photo library. Or maybe there is way to pass UIImage to this view?

推荐答案

回答我的问题.用好的 example 解决了这个问题.希望有人会有所帮助

Answering my question. Solved this problem with good example. Hope someone it will help

这篇关于在 UIScrollView 中裁剪 UIImage 就像在“移动和缩放"中一样;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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