Skip to content

Commit a88abfe

Browse files
authored
Full screen presentation on iPad based on iOS 13
1 parent c5cea03 commit a88abfe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Mage/MageAppCoordinator.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ - (void) eventChoosen:(Event *)event {
7676
if ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad) {
7777
UIStoryboard *ipadStoryboard = [UIStoryboard storyboardWithName:@"Main_iPad" bundle:nil];
7878
UIViewController *vc = [ipadStoryboard instantiateInitialViewController];
79+
vc.modalPresentationStyle = UIModalPresentationFullScreen;
7980
vc.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
8081
[self.navigationController presentViewController:vc animated:YES completion:NULL];
8182
} else if ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPhone) {

0 commit comments

Comments
 (0)