0
请与问题有助于通过Sharekit上传截图照片:Sharekit图像上传
UIGraphicsBeginImageContext(parentPreviewImageView.frame.size);
//UIGraphicsBeginImageContext(previewImageView.frame.size);
[self.parentPreviewView.layer renderInContext:UIGraphicsGetCurrentContext()];
imageCopy = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
//UIImageWriteToSavedPhotosAlbum(imageCopy, self, nil, nil);
UIImageWriteToSavedPhotosAlbum(imageCopy, self, @selector(imageSavedToPhotosAlbum:didFinishSavingWithError:contextInfo:), nil);
我应该如何结合上面的代码以下行? 非常感谢。
SHKItem *item = [SHKItem image:screenshot.image title:@""];
也许我没有说清楚,我的应用程序是通过在选定的图像顶部添加覆盖蒙版进行照片编辑。现在,我只能选择叠加蒙版作为要共享的照片,或选择要共享的图像。我想知道如何将合并的图像合并到Facebook上。非常感谢。 – zeropt7
拍摄图像上的覆盖蒙版的屏幕截图。我相信这不是最好的方法,但它是最简单的。 –