danielsaidi / Sheeeeeeeeet

Sheeeeeeeeet is a Swift library for creating menus, custom action sheets, context menus etc.
MIT License
1.74k stars 111 forks source link

dark mode not working #137

Closed summonerriftofficial closed 4 years ago

summonerriftofficial commented 4 years ago

I have a dark mode in the info plist file but the app shows the sheet as light,

how it's possible to force dark mode for all times,

Screen Shot 2020-05-09 at 3 17 36 AM

Simulator Screen Shot - iPhone 6 - 2020-05-09 at 03 18 19

summonerriftofficial commented 4 years ago

Note that I use iPhone 6

danielsaidi commented 4 years ago

Hi! Does it work in the demo app or on another device? It works for me, both in my own apps and the in the demo app and both by enabling dark mode in Info.plist and by using the debug toggle.

Skärmavbild 2020-05-09 kl  07 34 11

When you say that you use iPhone 6, do you mean iPhone 6s? iPhone 6 does not support iOS 13, which is required for dark mode.

danielsaidi commented 4 years ago

Another advice: If your app is always dark, you can override the standard appearance and apply an always dark color to the background.

summonerriftofficial commented 4 years ago

can you tell me how to force using dark mode using appearance ?

danielsaidi commented 4 years ago

You shouldn’t have to. The standard color set is adaptive and should automatically adjust for dark mode. But once again, dark mode is only supported in iOS 13.

danielsaidi commented 4 years ago

I'm closing this since I haven't heard back from you. Feel free to reopen the issue if you still have problems with this.

danielsaidi commented 4 years ago

The game looks great btw! 👍