0
사진 편집 응용 프로그램을 만들려고합니다. 인터넷에서 검색 한 결과 어도비 크리에이티브 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