When 'Increase Contrast' is turned ON, every time I display a custom view with 2 UIDatePickers in it, the CPU and Memory Usage just goes max then the app crashes due to memory issue.
This only happens if it 'Increase Contrast' is turned ON, the CPU and memory spike does not occur when it is OFF.
Anyone else have encountered this issue? I looked online elsewhere but I couldn't find anything about this.
I looked up online and I found out that it's not possible to make the app ignore the Increase Contrast flag (just like you could ignore Dark Mode), as well as, you cannot change/assign colors to the UIDatePicker. So I'm out of ideas now.
What could be possible solutions for this problem?
NOTE: To turn on 'Increase Contrast', just go to [Settings → Accessibility → Display & Text Size]