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

App crashing on long press of keyboard globe icon when we are trying to switch different keyboards. #380

Open
anoopkashok opened this issue Aug 13, 2020 · 1 comment

Comments

@anoopkashok
Copy link

Whenever we are trying to switch the keyboard by long press on keyboard globe icon, app crash is happening by saying reason: '-[UIImageView setSelected:]: unrecognized selector sent to instance.

@zenoniii
Copy link

zenoniii commented Feb 7, 2021

It appears the OS(or something in the keyboard) is calling [cell.backgroundView setSelected]. I can't see any reason this would be a legal call.

The crash is setup by NUITableViewCellRenderer.m, line 52, assigning an ImageView to cell.backgroundView. Again, this should be legal, but something else out of my control is behaving badly.

A workaround is to comment out that line in NUI.
Another workaround is to not use the background-color property on TableCell in your style definitions file.

However, I'm going to comment out the body of NUITableViewCellRenderer.render. NUI mangles the resulting keyboard popup dialog, even if it doesn't crash.

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

2 participants