UserInterfaceStyle
@available(iOS 13.0, *)
public enum UserInterfaceStyle : Int
Style options for colors in PaymentSheet
-
(default) PaymentSheet will automatically switch between standard and dark mode compatible colors based on device settings
Declaration
Swift
case automatic = 0
-
PaymentSheet will always use colors appropriate for standard, i.e. non-dark mode UI
Declaration
Swift
case alwaysLight
-
PaymentSheet will always use colors appropriate for dark mode UI
Declaration
Swift
case alwaysDark