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
3
votes
0 answers

HTML Email Signature not displaying correctly on Dark Mode in Mail iOS, Mac

My email signature works perfectly fine on iOS Mail in the default Light Mode. However if you switch to Dark Mode and send an email with it, the background of the full message becomes white. The content is also touching the edge on the left hand…
pr0bl3m
  • 53
  • 4
3
votes
1 answer

How to not let dark mode on phone affect my website?

when a phone has darkmode set in the system UI it affects the html and css on my website, e.g. changing colors. I don't want this to happen. Is there a way to stop the UI dark mode from changing the style of my html? Below are the snippets that I…
user12165978
3
votes
2 answers

Change buttonStyle Modifier based on light or dark mode in SwiftUI

I want to set Custom buttonStyle modifier for button for light and dark mode. How to change buttonStyle Modifier based on light or dark mode? I want to set Custom modifier for my button for light and dark mode. here is my button…
Anjali Kevadiya
  • 3,567
  • 4
  • 22
  • 43
3
votes
1 answer

Any, Dark for colors and Any, Light, Dark for images, why?

I am adapting an existing app to dark mode. A certain view uses an image to represent the state of a feature. I have selected the image inside the assets catalog and modified its Appearances field from none to Any, Dark. Then I added images for the…
Duck
  • 34,902
  • 47
  • 248
  • 470
3
votes
3 answers

How to simulate dark mode on iOS Xcode Swift Playground

Similar to How to use dark mode in simulator iOS 13? and How to enable Dark Mode on the Simulator?, how can you enable dark mode in the Xcode Swift Playground Live View?
Ilias Karim
  • 4,798
  • 3
  • 38
  • 60
3
votes
4 answers

Status Bar appearance not working as it should - with iOS 13 Dark Mode

My application is having defaultstatus bar style for pre-login screens. - After login, app uses lightContent style for status bar throughout the app. All was working fine till iOS 12. It started creating issue with iOS 13 (only when Dark Mode is…
Akash Patel
  • 67
  • 1
  • 2
  • 8
3
votes
2 answers

Can't get dark mode to work in my Xcode app

I have recently installed the latest Xcode 11.2.1 and updated iOS to 13.2.3 for iPhone device and 13.x for simulators. I'm trying to implement dark mode into my app, but I only get it to work with the Apple framework stuff, like alertControllers…
3
votes
2 answers

How to solve TextField text Not displaying in IOS Version 13.2.3?

I create an app in XCode 10.2. Currently, Apple released a new OS version 13.2.3, I update ios Version in a real device and I check my app in the real device. not displaying text in my textField How to fix this. Anybody can help me.
Nikunj
  • 655
  • 3
  • 13
  • 25
3
votes
1 answer

How to change status bar text color immediately in Swift in iOS 13

I'm using Swift 5.1 and Xcode 11.1 and I've currently finished implementing Dark Mode design. Theme updates immediately after user changes theme style in settings page with this code. guard let appDelegate = UIApplication.shared.delegate as?…
Ioan Moldovan
  • 2,272
  • 2
  • 29
  • 54
3
votes
2 answers

How to use Light UIUserInterfaceStyle image version in Dark Mode?

I use image, this image has two versions for light and dark UIUserInterfaceStyle, but I need to use the image light version in one UIViewController when Dark Mode is on. I know I can use tintColor, but I want to find out if other ways to do this.
Alexander Khitev
  • 6,417
  • 13
  • 59
  • 115
3
votes
1 answer

iOS13 Dark Mode Disclosure Indicator: Not readable

I have custom UITableView where I set the background color to white. This works for dark and bright mode. But on dark mode the disclosure indicators are hard to see. I tried to fix this with cell.tint color but it doe not work. How can I fix…
netshark1000
  • 7,245
  • 9
  • 59
  • 116
3
votes
1 answer

How can I access UIImage dark appearance pre iOS13

I've just added dark mode to my app. Asset catalogs support multiple appearances for each asset, on iOS 13 this means the correct asset is used when the system is running in dark or light mode. These are not my real assets I'm trying to support…
Wez
  • 10,555
  • 5
  • 49
  • 63
3
votes
2 answers

ios13 Dark Mode change not recognized by tableview Cell?

I'm checking my existing app to work correctly with the new introduced dark mode feature of ios 13. Everything seems to work fine, only the cell background in one of my tableViews is not refreshed according the mode (dark / light). If the app…
MadMaxAPP
  • 1,035
  • 2
  • 16
  • 39
3
votes
1 answer

Detecting Change in iOS Dark Mode

I've found a couple questions on here related to the issue I'm having but since I'm fairly new to iOS development I'm not sure how/where people are implementing their solutions. Since I am also new to StackOverflow I cannot comment on their posts so…
gavido
  • 43
  • 1
  • 4
3
votes
1 answer

Buttons border don't pick proper color for dark mode

My problem was also described here UIColor return wrong values for dark mode colors by Lee Andrew Basically border color for buttons is not being picked properly. In my case scenario is: Open VC1 in white mode. Push VC2 in white mode. Switch to…
Alexander
  • 396
  • 1
  • 11