'Access to UITextField's _placeholderLabel ivar is prohibited. This is an application bug'*"

72 views
Skip to first unread message

Sethmi Kachchakaduge

unread,
Nov 20, 2019, 8:01:46 PM11/20/19
to CodenameOne Discussions


I saw your thread on helping a client with a specific bug and as a student I wanted to reach out to a mentor to ask for some advice. Specifically, the error was "*Terminating app due to uncaught exception 'NSGenericException', reason:

'Access to UITextField's _placeholderLabel ivar is prohibited. This is an application bug'*"

How do I fix this?? Do I have to manually change each file or can I do this in a quicker way?

Shai Almog

unread,
Nov 20, 2019, 9:59:43 PM11/20/19
to CodenameOne Discussions
There seems to be an issue with the hack we did to resolve a regression with iOS 13 based on this stackoverflow answer: https://stackoverflow.com/a/56776561/756809

Following answers seem to offer better solutions which we should adopt. Please file an issue and provide a link to this discussion/stackoverflow. The bug is in CodenameOne_GLViewController.m line 328. You can file an issue here: https://github.com/codenameone/CodenameOne/issues/
Reply all
Reply to author
Forward
0 new messages