"iOS Xamarin.Forms: NSInternalInconsistencyException when scrolling TimePicker after updating to iOS 17.1.1/17.1.2" #15846
Description
Description
Our Xamarin.Forms iOS application is experiencing crashes with a specific exception: Fatal Exception: NSInternalInconsistencyException Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread. The crashes occur when users attempt to scroll the timepicker. Notably, this issue has emerged after users updated their iOS devices to versions 17.1.1 and 17.1.2.
Despite my efforts, I haven't been able to replicate the problem on my physical device or simulator. The majority of affected users are located in the USA. We rely on Firebase Crashlytics to log these incidents. The attached screenshots are sourced from Crashlytics.
Has anyone else encountered a similar problem with Xamarin.Forms and iOS 17.1.1/17.1.2? Any insights into resolving this issue or suggestions for further troubleshooting would be greatly appreciated.
Steps to Reproduce
NA
Expected Behavior
App should not crash when scrolling the time picker.
Actual Behavior
When scrolling the time picker, app crashes.
Basic Information
- Xamarin.forms: 5.0.0.2578
- iOS Version: 17.1.1, 17.1.2
- Affected Devices: iPhone 13, iPhone 14 pro max as of now.
Screenshots

