【发布时间】:2012-03-29 07:07:24
【问题描述】:
我正在开发一个 iOS 4 应用程序。
此问题与UIImageView, setClipsToBounds and how my images are losing their head有关
我有以下问题:
在UITableViewCell 上,我有一个UIImageView。此UIImageView 为 77x77 像素,可容纳不同的图片尺寸。
我必须以这种方式处理这些图像:
如果图像是 100x120,我需要从像素 78 到像素 100(宽度)和 78 到 120(高度)。另一种选择是创建另一个删除这些像素。
我该怎么做?
【问题讨论】:
标签: ios cocoa-touch uiimageview uiimage