Skip to content

Commit 788822f

Browse files
authored
Merge pull request #138 from cashapp/entin/full-screen
Show demo screens in full screen
2 parents 73e389c + e340958 commit 788822f

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)