iphone照片裁剪
<p><p>我正在实现相册,我想从相册中选择图像,然后去编辑图像页面并像 iphone 一样裁剪图像,就像在 iphone 4s 中一样制作矩形和显示矩阵,我可以调整它的大小,但我只看到一个大的长方形
我用这个代码</p>
<pre><code>if()
{
UIImagePickerController *picker=[init];
picker.delegate=(id)self;
picker.allowsEditing=YES;
picker.sourceType=UIImagePickerControllerSourceTypePhotoLibrary;
;
</code></pre>
<p>还有这个代表</p>
<pre><code>- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info {
</code></pre>
<p>}</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>查看 <a href="https://github.com/barrettj/BJImageCropper" rel="noreferrer noopener nofollow">example</a> .希望它对你有用.. </p></p>
<p style="font-size: 20px;">关于iphone照片裁剪,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/11028169/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/11028169/
</a>
</p>
页:
[1]