NetverifyDocumentSelectionButton
@interface NetverifyDocumentSelectionButton : UIButton <JumioAppearance>
UIButton that implements JumioAppearance protocol. Button that is used on Screen where users can select the document they wish to scan. Please check out our Surface Tool https://jumio.github.io/surface-ios/ to see what customization options are supported.
-
Sets the background color for specific states.
Declaration
Objective-C
- (void)setBackgroundColor:(UIColor *)backgroundColor forState:(UIControlState)state;Swift
func setBackgroundColor(_ backgroundColor: UIColor!, for state: UIControl.State)Parameters
backgroundColorUIColor that should be used
statethe UIControlState for which the color should be drawn
-
Returns the background color for specific states.
Declaration
Objective-C
- (UIColor *)backgroundColorForState:(UIControlState)state;Swift
func backgroundColor(for state: UIControl.State) -> UIColor!Parameters
statethe UIControlState for which the color should be drawn
Return Value
UIColor that is to be used
-
Set the tint color of icons for specific states.
Declaration
Objective-C
- (void)setIconColor:(UIColor *)iconColor forState:(UIControlState)state;Swift
func setIconColor(_ iconColor: UIColor!, for state: UIControl.State)Parameters
iconColorUIColor that should be used
statethe UIControlState for which the color should be drawn
-
Returns the tint color for specific states.
Declaration
Objective-C
- (UIColor *)iconColorForState:(UIControlState)state;Swift
func iconColor(for state: UIControl.State) -> UIColor!Parameters
statethe UIControlState for which the color should be drawn
Return Value
UIColor that is to be used
View on GitHub
NetverifyDocumentSelectionButton Class Reference