How to Implement Dynamic Type for UITextFields Without Resetting Data

Hello!

I was doing some accessibility testing for my app and found out that when the user switches the text size, all of the data in the text fields is reset, which causes major disruption.

I've tried looking for documentation, but all I've found is information on how to dynamically scale the UI for different text sizes, which I've already implemented.

My guess is that every time Dynamic Type registers a change, it redraws my UI instead of just updating it.

How can I make sure the data is not reset when the text size changes?

Hello! Thanks for taking the time to write about this. This doesn't sound right, and is probably a bug. But to be sure, we need some more information to investigate.

Can you please file a bug report and include

  • code sample
  • sysdiagnose logs
  • video recording

to the following link? https://developer.apple.com/bug-reporting/

The site will walk you through these steps. You can reply what the Feedback ID is for this issue and I'll make sure it gets to the right team to investigate.

How to Implement Dynamic Type for UITextFields Without Resetting Data
 
 
Q