Martifan 5 Posted October 12, 2020 Hello, how can you find out what style is in the iPhone? (Black or white) P.S. Example if possible on Delphi Thanks in advance Share this post Link to post
Dave Nottage 557 Posted October 12, 2020 3 minutes ago, Martifan said: how can you find out what style is in the iPhone? (Black or white) I guess you mean whether it is in Light or Dark mode? If so, take a look at GetUserInterfaceStyle, here: https://github.com/DelphiWorlds/Kastri/blob/master/Core/DW.UIHelper.iOS.pas 1 Share this post Link to post
Martifan 5 Posted October 12, 2020 (edited) 5 minutes ago, Dave Nottage said: I guess you mean whether it is in Light or Dark mode? If so, take a look at GetUserInterfaceStyle, here: https://github.com/DelphiWorlds/Kastri/blob/master/Core/DW.UIHelper.iOS.pas oh yes, that's it, thanks the result is returned: TUserInterfaceStyle.Light или Result := TUserInterfaceStyle.Dark Edited October 12, 2020 by Martifan Share this post Link to post