Open sinceredevotion opened 1 year ago
hi, thanks for reporting there is a bug in bindings, will be fixed during ios17 binding update (don't close this issue). meanwhile please use folloiwing workaround. call this line somewhere before accessing UIAccessibilityTraits
ObjCRuntime.bind(UIAccessibilityTraits.class);
Issue details
When setting traits of a UIAccessibilityElement, this is the error that I get:
Error: class java.lang.UnsatisfiedLinkError, Optional @GlobalValue method org/robovm/apple/uikit/UIAccessibilityTraits.NoneValue()J not bound
Reproduction steps/code
Here is a snippet of code:
UIAccessibilityElement accessibilityElement = new UIAccessibilityElement(iosAccessibility);
Configuration
2.3.19
Build Tools:
Versions:
Please provide the version of RoboVM, XCode and JDK used
Build Targets: iPhone 14 Pro Max iOS 16.
Stacktrace