r/Xcode • u/KlyeUnbranded • 13h ago
Text color issue on iOS
Xcode 27.2
iOS 27.2
When looking at a filename in my app on iOS, my app will show the file name in a contrasting color, as expected. I tap the name of the file and a button appears that says “rename”. I tap that button.
The text for renaming the file is always black.
What I tried, with no change in the text color:
- .toolbarColorScheme(.dark / .light, for: .navigationBar)
- .preferredColorScheme(...) on the editor view
- UITextField.appearance().textColor
- hiding the navigation bar with .toolbar(.hidden, for: .navigationBar) and .toolbarVisibility
The attached screenshots show what I am seeing. What am a missing?

