Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not resolve a root view controller. #9

Open
trunghvbk opened this issue May 27, 2024 · 0 comments
Open

Could not resolve a root view controller. #9

trunghvbk opened this issue May 27, 2024 · 0 comments

Comments

@trunghvbk
Copy link

Sometimes when I run the app, this runtime-warning happens, and I don't know why.
I searched on the issue list and it seems no one has the same issue.
Please help to check this. Thanks.
image
The code of the Router is something like this

enum MainScreen {
    case pop
    case accountView
}

class MainRouter: UIViewControllerCoordinator<MainScreen> {
    override func transition(for route: MainScreen) -> ViewTransition {
        switch route {
        case .pop:
            return .dismiss
        case .accountView:
            return .push(AccountViewFactory(checkedUser: true))
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant