Skip to content

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

Open
unRARed wants to merge 2 commits intodalezak:mainfrom
unRARed:chore/support-turbo-ios-7.0.0-rc.7
Open

chore: update to support latest rc of turbo-ios#8
unRARed wants to merge 2 commits intodalezak:mainfrom
unRARed:chore/support-turbo-ios-7.0.0-rc.7

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