[iOS] TextInput default text color change to white when running on real device
See original GitHub issueReact Native version:
System: OS: macOS 10.15.2 CPU: (4) x64 Intel® Core™ i5-4570R CPU @ 2.70GHz Memory: 69.59 MB / 16.00 GB Shell: 5.7.1 - /bin/zsh Binaries: Node: 13.5.0 - /usr/local/bin/node Yarn: 1.21.1 - /usr/local/bin/yarn npm: 6.13.4 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1 Android SDK: API Levels: 23, 25, 26, 27, 28 Build Tools: 23.0.1, 23.0.2, 25.0.0, 25.0.1, 25.0.2, 26.0.2, 26.0.3, 27.0.3, 28.0.2, 28.0.3 System Images: android-23 | Google APIs ARM EABI v7a, android-23 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom IDEs: Xcode: 11.3/11C29 - /usr/bin/xcodebuild npmPackages: react: 16.9.0 => 16.9.0 react-native: 0.61.5 => 0.61.5
Steps To Reproduce
- git clone git@github.com:james1888/RnTextInputBug.git
- cd RnTextInputBug
- npm start
- npm ios
- open xcode
- connect real device
- run on real device
On simulator
On real device
Describe what you expected to happen:
Default TextInput text color should be black on iOS
link to a repository: https://github.com/james1888/RnTextInputBug
Issue Analytics
- State:
- Created 4 years ago
- Reactions:16
- Comments:24 (5 by maintainers)
Top GitHub Comments
In case anyone simply wants to revert to old behavior, you can disable your app’s dark mode support in your
Info.plist
:just add +color= “#333” +placeholderTextColor=“#666” it would work well on ios real devices;solve it! just to try