0
写真編集アプリを作成しようとしています。私はインターネットで検索し、Adobe Creative SDKがイメージを編集するのに適していることがわかりました。そこにはドキュメントがありました。しかしここでは、私はリダイレクトする代わりにツールのみを使用したいと思っています。AdobeUXImageEditorViewController
ツール(フレーム、ステッカー、ブラシなど)。そうすることができるのですか、それともコントローラに持っているのですか?IOSでAdobe Creative SDKのツールのみを使用する方法
ありがとうございましたら、誰かがサンプルコードで私を助けてください。
以下は必要とされAdobeUXImageEditorViewControllerコントローラへのViewControllerの
- (void)launchPhotoEditorWithImage:(UIImage*)image
{
// Create photo editor
AdobeUXImageEditorViewController *editorController = [[AdobeUXImageEditorViewController alloc] initWithImage:image];
[editorController setDelegate:self];
[self.navigationController presentViewController:editorController animated:YES completion:nil];
}
- (void)photoEditor:(AdobeUXImageEditorViewController *)editor finishedWithImage:(UIImage *)image
{
UIImage *imageToEdit=image;
_imageViewForEditing.image=imageToEdit;
// Handle the result image here and dismiss the editor.
//[self doSomethingWithImage:image]; // Developer-defined method that presents the final editing-resolution image to the user, perhaps.
[self dismissViewControllerAnimated:YES completion:nil];
}
- (void)photoEditorCanceled:(AdobeUXImageEditorViewController *)editor
{
// Dismiss the editor.
[self dismissViewControllerAnimated:YES completion:nil];
}
返信いただきありがとうございます。 – Uttam