2012-11-13 64 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 ?? –