Skip to content
Discussion options

You must be logged in to vote

The default behavior of VisitableViewController only updates the title when the content finishes rendering.

open class VisitableViewController: UIViewController, Visitable {
    // ...

    open func visitableDidRender() {
        navigationItem.title = visitableView.webView?.title
        visitableLocationState = .resolved
    }

    // ...
}

If you want to update the native title after that a bridge component is your best bet.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ibrahima
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants