2012-11-13 128 views
0

我想创建一个图像编辑应用程序,但我使用的是Aviary,但在Aviary上找不到任何教程,这就是为什么我在使用Aviary时遇到问题。如何在iOS中使用Aviary SDK

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

我在阅读this document,但有没有任何教程,以方便地显示该怎么做?

回答

3

只是创建一个百鸟对象:

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

[e setDelegate:self]; 

[self presentModalViewController:e animated:YES]; 

然后实现成品&取消委托方法:

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

- (void)photoEditorCanceled:(AFPhotoEditorController *)editor 

祝您好运!

+0

我已经看到它,并且正在关注,但不能得到这个工作。 –

+1

它给我下面的警告set.delegate发送ViewController *参数的不兼容tyoe id

+0

什么self.delegate ?? –