1
我正在使用的IOS項目百鳥SDK。我添加了文檔中提到的所有框架和頭文件。現在我在viewdidload中調用下面的方法。百鳥SDK問題
- (void)displayEditorForImage:(UIImage *)imageToEdit
{
AFPhotoEditorController *editorController = [[AFPhotoEditorController alloc] initWithImage:imageToEdit];
[editorController setDelegate:self];
[self presentViewController:editorController animated:YES completion:nil];
}
但它會在日誌中給出警告,並且不會顯示Aviary窗口。
Warning: Attempt to present <AFSDKViewController: 0x7e1aeb0> on <ViewController: 0x7934af0> whose view is not in the window hierarchy!
怎麼能在我的項目
+1爲你的男人。 –