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
拍攝圖像上的覆蓋蒙版的屏幕截圖。我相信這不是最好的方法,但它是最簡單的。 –