In one of my projects I have integrated the aviary sdk . When I use the presentmodalViewcontroller
it is working . But when I use the addsubview
method it is crashing when I click any button in the 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];
Please let me know if I am not clear . Thanks in advance .