Skip to main content

All Questions

Tagged with
0 votes
0 answers
234 views

iOS dark mode status bar is not working in all view controller

I do an iOS app with multiple view controller. The initial controller will show the status of current mode whereas second view is the settings. This app has 3 options for the dark mode: Light, Dark, ...
Jet Lye's user avatar
  • 11
0 votes
0 answers
109 views

dark mode on multiple views and problems had during implementation of dark mode iOS

I would like to implement a iOS dark mode testing with 3 options: light, dark, and system. The first two will force the app in that particular state and not follow the system settings. Right now I ...
Jet Lye's user avatar
  • 11
0 votes
1 answer
116 views

Do you know how to set the code to running Dark Mode systems only in the my App without the Light Mode?

I am looking for the simple of the code to accessing whole of my apps into the dark mode only. For example: I know the iOS 13/14 has automatically Light Mode and Dark Mode in the systems-wide. Now The ...
Antonio A. Chavez's user avatar
1 vote
1 answer
206 views

How to toggle between Light & Dark Mode in Xamarin.iOS?

Most of the information I've found online is dealing with Xamarin Forms, Is it possible to toggle between Light & Dark Mode using only Xamarin.iOS? I've added this piece of code to my ViewDidLoad ...
Nantourakis's user avatar
6 votes
1 answer
1k views

Change ASAuthorizationAppleIDButton style dark/light mode is turned on

I have a sign in apple button. It has style .black in light mode: let button = ASAuthorizationAppleIDButton(type: .signIn, style: .black) I want it to have style .white in dark mode Accessing the ...
regina_fallangi's user avatar
2 votes
2 answers
4k views

SwiftUI How to implement dark mode toggle and refresh all views

I'd like to implement a simple toggle to manually switch between dark and light modes. However, I don't know how to make my app refresh (redraw all windows) after I switch the toggle. So far I found ...
pawello2222's user avatar
  • 52.4k
0 votes
1 answer
2k views

React Native FlatList Loading Indicator not showing on light mode (iOS 13)

I noticed that when my phone is set to light mode, the loading indicator is so faint that it seems like its missing, but when switched to dark mode its clearly visible. In my specific case I am using ...
cb20efa's user avatar
  • 18
0 votes
1 answer
58 views

iPad detect if the user has Dark Mode enabled, without supporting Dark Mode

I'm working on an iPad app. I would like to know if a user has Dark Mode turned on, without actually supporting Dark Mode. When I have my iPad in Dark Mode, and I ask the O.S for the ...
The Guardian's user avatar
0 votes
1 answer
257 views

Any way to get light image when iPhone is on dark mode?

> UITraitCollection *lightTrait = [UITraitCollection traitCollectionWithUserInterfaceStyle:UIUserInterfaceStyleLight]; image = [UIImage imageNamed:name inBundle:[NSBundle ...
Xiao Ming's user avatar
  • 131
5 votes
1 answer
2k views

UIBarButtonItem not change image automatically when switching dark mode/light mode

I am trying to integrate dark mode support to my app. But when setting image icon for UIBarButtonItem, it seem only works when the first time UIBarButtonItem is shown, it is not changed when I switch ...
erictruong's user avatar
19 votes
9 answers
8k views

Dark mode does not switch to a Dark mode background in Xcode

I have set up different backgrounds for 'Light/Dark Appearance' But when switching between Light/Dark mode within Xcode, my background always uses image from 'Any/Light Appearance'. Only colours set ...
marika.daboja's user avatar
3 votes
1 answer
1k views

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 ...
Duck's user avatar
  • 35.7k
4 votes
0 answers
767 views

Disable dark mode on widget?

I disabled the dark mode on the whole app through the info.plist but I'm not able to disable it on the Widget target Do you know any solution? Thank you
Gemix's user avatar
  • 51
0 votes
1 answer
308 views

How to make status bar textcolor dark on button click in Dark mode?

When I click on Default button status bar style changes .black in Normal mode But when I enable Dark Mode , status bar automatically becomes white and won't change back I put the separate code to ...
Nayan Dave's user avatar
  • 1,670
1 vote
4 answers
855 views

UIImage with resizableImageWithCapInsets Does Not Respond in Dark Mode

Does anyone know of a way to make a UIImage that has been stretched with resizableImageWithCapInsets respond to changes in light/dark mode? My current implementation only takes into consideration dark/...
Gergely Kovacs's user avatar

15 30 50 per page
1
2 3 4 5 6