Skip to content

Commit e340958

Browse files
committed
Show demo screens in full screen
1 parent df5a68c commit e340958

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Example/AccessibilitySnapshot/RootViewController.swift

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ final class RootViewController: UITableViewController {
8989

9090
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
9191
let viewController = accessibilityScreens[indexPath.row].1(self)
92+
viewController.modalPresentationStyle = .fullScreen
9293
present(viewController, animated: true, completion: nil)
9394
tableView.deselectRow(at: indexPath, animated: true)
9495
}

0 commit comments

Comments
 (0)