BTDropInColorScheme
Objective-C
enum BTDropInColorScheme : NSInteger {}
Swift
enum BTDropInColorScheme : Int, @unchecked Sendable
Braintree Drop-in color scheme
-
Light color palette
Declaration
Objective-C
BTDropInColorSchemeLight
Swift
case light = 0
-
Dark color palette
Declaration
Objective-C
BTDropInColorSchemeDark
Swift
case dark = 1
-
Light or dark color palette, depending on the user’s light or dark mode system preference. Only available in iOS 13+.
Declaration
Objective-C
BTDropInColorSchemeDynamic
Swift
case dynamic = 2