Skip to content

Commit 9681be1

Browse files
committed
just testing, pay no attention
1 parent be29e26 commit 9681be1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bk2ch06p270modalPresentationContext/ch19p607modalPresentationContext/FirstViewController.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ class FirstViewController : UIViewController {
99
switch which {
1010
case 1:
1111
let vc = ExtraViewController()
12+
// vc.modalPresentationStyle = .overFullScreen
13+
// vc.modalTransitionStyle = .flipHorizontal
1214
self.present(vc, animated: true)
1315

1416
case 2:
@@ -21,6 +23,7 @@ class FirstViewController : UIViewController {
2123

2224
case 3:
2325
let vc = ExtraViewController()
26+
// vc.modalTransitionStyle = .flipHorizontal
2427
self.definesPresentationContext = true
2528
// comment out next line to see the difference
2629
self.providesPresentationContextTransitionStyle = true

0 commit comments

Comments
 (0)