All Questions
Tagged with ios13 ios-darkmode
78
questions
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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/...