Questions tagged [ios-darkmode]

In macOS and iOS (13.0 and later), users can choose to adopt a system-wide light or dark appearance. The dark appearance, known as Dark Mode, implements an interface style that many apps already adopt. Users choose the aesthetic they prefer, and can also choose to toggle their interface based on ambient lighting conditions or a specific schedule.

All iOS/Mac apps should support both light and dark interface styles, but might perform better with a specific appearance in some places.

271 questions
2
votes
1 answer

Platform brightness is still light on iOS even when dark mode is on - Flutter

I am trying to implement dark mode in my flutter app, but I don't know what am I missing but it doesn't work on iOS. I manage to run it on Android just fine, but when I print WidgetsBinding.instance.window.platformBrightness there is still light,…
Petr Jelínek
  • 1,259
  • 1
  • 18
  • 36
2
votes
1 answer

Dark mode for custom SwiftUI Color

I get a series of colors with different hues from my designer. Here is how I make them public struct Colors { public static let blue = Blue() public static let grey = Grey() public static let black = Black() public static let green =…
Jon Vogel
  • 5,244
  • 1
  • 39
  • 54
2
votes
2 answers

Recreating react native Disabling dark mode not working (ios)

I am trying to prevent app from using dark mode because text becomes white on a white background These solution for darkmode have not worked for me: I add this to my Info.plist file: (this does nothing) UIUserInterfaceStyle
Currently_Lost
  • 100
  • 1
  • 9
2
votes
2 answers

iOS launch screen for light and dark modes

I follow the instruction in RSP-12931: Native resolution not supported on iPAD Pro to create an iOS LaunchScreen for my Delphi app. Now, with iOS 13, the problem is that I need 2 variants of this launch screen, one for dark mode and another for…
zeus
  • 12,173
  • 9
  • 63
  • 184
2
votes
0 answers

Is there a way to invert the colors in a PDFView?

I'm displaying PDF files in an iOS / Mac Catalyst app with PDFView. My app has had a dark color theme since long before Apple added Dark Mode to its operating systems, but now that Apple supports this, I'm thinking it should be possible to display…
arlomedia
  • 8,534
  • 5
  • 60
  • 108
2
votes
2 answers

SwiftUI: Dark mode not detected when testing on device

I'm am trying to achieve dark mode within my iOS application using SwiftUI: simple test would be to change the background colour. I have set up my colour set as seen below: ContentView.swift: import SwiftUI struct ContentView : View { …
Ryan
  • 155
  • 1
  • 14
2
votes
0 answers

How to handle dark mode in Delphi iOS apps

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…
Mike at Bookup
  • 1,211
  • 14
  • 32
2
votes
0 answers

UITabBar barStyle change - inconsistent behavior on iOS 13

Let me explain the setup. The appdelegate creates a navigation controller and sets my ViewController as its rootViewController. Then a tabbarcontroller is created and this navigationcontroller is added to it. iOS 13 darkmode is ignored/opted out of…
2
votes
1 answer

Default tableview cells don't respond to dark mode

Using a custom cell I'm able to get dark mode/normal mode to work properly. But when using the default framework cell Apple has provided it remains white regardless of what mode I enable. I read here ios13 Dark Mode change not recognized by…
2
votes
1 answer

How to adopt dark mode without loosing support for older iOS versions?

We are supporting iOS 10 and above hence I had to use XCode 10 or else AppStore Connect gives me an error that the minimum iOS version should be 12.4 when using XCode 11. How can I adopt dark mode for newer iOS versions without losing support for…
SPS
  • 359
  • 3
  • 12
2
votes
1 answer

Flutter: Dark Theme on iOS

I am creating an app using Flutter. On iOS however (you can also test it on Android), dark theme is not applied. Using Android widgets, it is working fine tho. How can I make the Cupertino widgets using the dark theme? Especially for the popups. I…
Tien Do Nam
  • 3,630
  • 3
  • 15
  • 30
2
votes
1 answer

Will apple reject my app if i force light mode on my app?

I know i can force my app to always use light mode from this question. But some say apple will reject the app and some say not. So will apple reject my app if i force my app to use light mode?
Abd mukmin
  • 67
  • 2
  • 8
2
votes
1 answer

IOS 13 Dark Mode Accent Colour

In macOS 10.14 the user can select between light and dark mode and can also select from a choice of 8 accent/highlight colours. In IOS 13 the user can select between light and dark mode but the accent/highlight colour is either mode appears to me to…
Steve Brooker
  • 1,043
  • 11
  • 28
2
votes
1 answer

How do I implement dark mode into a PWA with no framework?

I'm building a PWA for iOS and Android, and I'm not using a framework (it is a very basic app and app size is a big issue). I want to implement dark mode so that when the user switches their device to dark mode, the app theme changes dark too. How…
Jamie W
  • 439
  • 3
  • 21
2
votes
2 answers

Dark Mode/Light Mode settings not showing up in Assets.xcassets for Xamarin.ios in Visual Studio for Windows

Are the Dark Mode/Light Mode settings available in Assets.xcassets in Visual Studio for Windows? I've installed VS 2019 version 16.3.5 on PC and XCode version 11.1(11A1027) on Mac. I've seen examples showing a screen with these settings but I don't…
mehamm
  • 33
  • 3