Skip to content

Commit

Permalink
Update PhotoEditorSDK.m
Browse files Browse the repository at this point in the history
  • Loading branch information
jherencia authored Jun 10, 2018
1 parent 2b540e8 commit e6e13e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ios/PhotoEditorSDK.m
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,9 @@ -(PESDKConfiguration*)_buildConfig: (NSDictionary *)options {
[weakSelf onCancel];
};

[self.currentViewController presentViewController:self.cameraController animated:YES completion:nil];
dispatch_async(dispatch_get_main_queue(), ^{
[self.currentViewController presentViewController:self.cameraController animated:YES completion:nil];
});
}

- (PESDKPhotoEditViewController *)createPhotoEditViewControllerWithPhoto:(PESDKPhoto *)photo configuration: (PESDKConfiguration *)configuration features: (NSArray*) features {
Expand Down

0 comments on commit e6e13e6

Please sign in to comment.