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

chore: update to support latest rc of turbo-ios #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

unRARed
Copy link

@unRARed unRARed commented Aug 23, 2022

closes #7

Could be more to this, but this allowed the latest 7.0.0-rc.7 package to build on my system.

Comment on lines +329 to +332
// added to turbo-ios in 7.0.0-rc.6
func sessionWebViewProcessDidTerminate(_ session: Session) {
// TODO
}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dalezak This is useful, I had to do the same.

    func startApp() {
        // app setup
        self.navigationController?.setNavigationBarHidden(true, animated: false)
        self.navigationController?.view.backgroundColor = UIColor(hexRGB: "#121212")
        loadNavBar()
        loadTabBar()
        loadTabs()
        loadHome()     
    }

override func viewDidLoad() {
        super.viewDidLoad()
        startApp()
    }

    func sessionWebViewProcessDidTerminate(_ session: Session) {
        self.navigationController?.popViewController(animated: false)
        self.navigationController?.viewControllers = []
        self.tabBar = makeTabBar()
        self.session = makeSession()
        self.modalSession = makeSession()
        self.settings = loadSettings()
        self.processPool = WKProcessPool()
        startApp()
    }

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

Successfully merging this pull request may close these issues.

Incompatibility from turbo-ios 7.0.0-rc.6
2 participants