Skip to content

Commit

Permalink
The default modal presenting full screen
Browse files Browse the repository at this point in the history
  • Loading branch information
aurimasmi authored May 18, 2021
1 parent bd30591 commit ed05b06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ios/RNPhotoEditor.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ - (void)canceledEditing {

photoEditor.colors = passColors;

if (@available(iOS 13, *)) {
[photoEditor setModalPresentationStyle: UIModalPresentationFullScreen];
}

// Invoke Editor
photoEditor.photoEditorDelegate = self;

Expand Down

0 comments on commit ed05b06

Please sign in to comment.