gpt4 book ai didi

objective-c - 如何在 iOS 中使用 Aviary SDK

转载 作者:行者123 更新时间:2023-11-28 20:27:54 25 4
gpt4 key购买 nike

我想创建一个图像编辑应用程序并且我正在使用 Aviary,但我找不到任何关于 Aviary 的教程,这就是我在使用它时遇到问题的原因。

有没有关于如何使用 Aviary SDK for iOS 的教程?

我正在阅读 this document ,但是是否有任何教程可以轻松展示该怎么做?

最佳答案

只需创建一个 Aviary 对象:

AFPhotoEditorController *e = [[AFPhotoEditorController alloc] initWithImage:IMAGE];

[e setDelegate:self];

[self presentModalViewController:e animated:YES];

然后实现 Finished & Canceled Delegate 方法:

- (void)photoEditor:(AFPhotoEditorController *)editor finishedWithImage:(UIImage *)image

- (void)photoEditorCanceled:(AFPhotoEditorController *)editor

祝你好运!

关于objective-c - 如何在 iOS 中使用 Aviary SDK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13358199/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com