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

Crash on iOS 12.5.4 and Ti SDK 10.0.0.GA #231

Open
Max87ZA opened this issue Jul 14, 2021 · 4 comments
Open

Crash on iOS 12.5.4 and Ti SDK 10.0.0.GA #231

Max87ZA opened this issue Jul 14, 2021 · 4 comments

Comments

@Max87ZA
Copy link

Max87ZA commented Jul 14, 2021

Hi guys, I have a problem with this module since I upgraded to Ti SDK 10. On iOS 12.5.4(tested with iP6) it crashes right after startup. I found logs via xcode:
erminating app due to uncaught exception ‘UIViewControllerHierarchyInconsistency’, reason: ‘child view controller:<UINavigationController: 0x103037600> should have parent view controller:<TiViewController: 0x1020911a0> but actual parent is:<TiRootViewController: 0x10282de00>’

Building app with 9.3.2.GA works fine. Tested with newest 2.1.1 version of the module... Please can it be fixed? Thanks

@mbender74
Copy link

https://github.com/mbender74/NappDrawer

I fixed that error!

@jquick-axway
Copy link

@mbender74 , I'm hearing that this is still an issue when you put a NavigationWindow within a NappDrawer. It sounds like the NappDrawer code needs to change grab the next view controller up in the hierarchy kind of like how it's handled below. What do you think?
https://github.com/appcelerator/titanium_mobile/pull/12930/files

@mbender74
Copy link

works great with NavigationWindow!
Sure, you need to use 10.0.1.GA or 10.1.0 (master).....
Using NavigationWindows as centerWindow no problem...

@ewanharris
Copy link

@mbender74, I submitted a PR to fix the specific case Josh was referring to mbender74/NappDrawer#1

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

4 participants