We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be29e26 commit 9681be1Copy full SHA for 9681be1
bk2ch06p270modalPresentationContext/ch19p607modalPresentationContext/FirstViewController.swift
@@ -9,6 +9,8 @@ class FirstViewController : UIViewController {
9
switch which {
10
case 1:
11
let vc = ExtraViewController()
12
+// vc.modalPresentationStyle = .overFullScreen
13
+// vc.modalTransitionStyle = .flipHorizontal
14
self.present(vc, animated: true)
15
16
case 2:
@@ -21,6 +23,7 @@ class FirstViewController : UIViewController {
21
23
22
24
case 3:
25
26
27
self.definesPresentationContext = true
28
// comment out next line to see the difference
29
self.providesPresentationContextTransitionStyle = true
0 commit comments