-
Notifications
You must be signed in to change notification settings - Fork 1
Dark Mode
levching edited this page Apr 15, 2020
·
3 revisions
The following code snippet shows how you can define if the user set dark mode UI inside the iOS Settings app
using SA.iOS.UIKit;
...
var userInterfaceStyle = ISN_UIScreen.MainScreen.TraitCollection.UserInterfaceStyle;
if (userInterfaceStyle == ISN_UIUserInterfaceStyle.Dark)
{
// Use Dark Skin.
}
else
{
//use Light Skin.
}
Reliable and high-quality Unity Development service. Let's Talk!
Website | AssetStore | LinkedIn | Youtube | Scripting Reference
- Getting Started
- Authentication
- Game Center UI
- Leaderboards
- Default Leaderboard
- Achievements
- Saving A Game
- Access Point
- iTunes Connect Setup
- StoreKit Initialization
- Purchase flow
- Receipt Validation
- Store Review Controller
- Storefront API
- Subscription Offers