2

When the iPhone is in dark mode, my Delphi 10.3.3 app renders half the TLabel TListBox texts in regular black and the other half in an extremely light gray (almost unreadable).

What must be done to make Firemonkey components work well with iOS dark mode?

Mike at Bookup
  • 1,211
  • 14
  • 32
  • 1
    I actually though delphi would recognize your iOS is in dark mode and handle all that automatically ... so this doens't work ? – Stefaan Jan 17 '20 at 08:28
  • In my case, it sometimes works but it often works incorrectly. – Mike at Bookup Jan 30 '20 at 19:38
  • https://quality.embarcadero.com/browse/RSP-27620 – Mike at Bookup Feb 10 '20 at 17:46
  • I'm now using Delphi 11.3 patch 1 and Xcode 14.3. I've added the key pair Appearance | Light to the project's info.plist. The project is still being visually mangled to an unusable state when the iPad is in dark mode. – Mike at Bookup Jun 25 '23 at 16:56
  • Adding this key pair to the Info.plist.templateiOS.xml file worked to keep the FMX app in light mode: UIUserInterfaceStyle Light Thanks to Dave Nottage for pointing that out. – Mike at Bookup Jun 27 '23 at 16:04

0 Answers0