【发布时间】:2013-08-05 06:12:51
【问题描述】:
在我的一个项目中,我集成了 aviary sdk 。当我使用presentmodalViewcontroller 时,它正在工作。但是当我使用 addsubview 方法时,当我单击 Editorcontroller 中的任何按钮时它会崩溃。
AFPhotoEditorController *featherController = [[[AFPhotoEditorController alloc] initWithImage:image] autorelease];
[featherController setDelegate:self];
[featherController.view setBackgroundColor:[UIColor blackColor]];
featherController.view.frame = CGRectMake(0, 0, 512, 748);
[self.view addSubview:featherController.view];
//[self presentModalViewController:featherController animated:YES];
如果我不清楚,请告诉我。提前致谢。
【问题讨论】: