Skip to content

Commit

Permalink
Add modal root view controller access
Browse files Browse the repository at this point in the history
  • Loading branch information
olivaresf committed May 9, 2024
1 parent 2a74e4a commit 89c1208
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/Turbo Navigator/TurboNavigator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ public class TurboNavigator {
public unowned var delegate: TurboNavigatorDelegate

public var rootViewController: UINavigationController { hierarchyController.navigationController }

public var modalRootViewController: UINavigationController { hierarchyController.modalNavigationController }

public var activeNavigationController: UINavigationController { hierarchyController.activeNavigationController }

/// Set to handle customize behavior of the `WKUIDelegate`.
Expand Down

0 comments on commit 89c1208

Please sign in to comment.