EMSecureInputUi
Objective-C
@protocol EMSecureInputUi <NSObject>
Swift
protocol EMSecureInputUi : NSObjectProtocol
It contains all the information needed for the secure input UI.
Since
4.4-
The secure input UI view controller can be fed into a navigation controller or presented as a modal view controller in the current view.
Since
4.4Declaration
Objective-C
@property (nonatomic, readonly) UIViewController *viewController;Swift
var viewController: UIViewController! { get } -
The secure input UI keypad view.
Since
4.8Declaration
Objective-C
@property (nonatomic, readonly) UIView *keypadView;Swift
var keypadView: UIView! { get } -
It only useful for custom top UI. It contains information about the selected input field index. Application developer could then use the value to draw the custom top UI. Change the value if the selected input field on the custom top UI is changed.
Since
4.4Declaration
Objective-C
@property (nonatomic) NSInteger selectedInputFieldIndex;Swift
var selectedInputFieldIndex: Int { get set } -
Secure input custom UI delegate.
Since
4.4Declaration
Objective-C
@property (nonatomic) id<EMSecureInputCustomUiDelegate> customUiDelegate;Swift
unowned(unsafe) var customUiDelegate: (any EMSecureInputCustomUiDelegate)! { get set } -
Secure input UI tag. Default it 0.
Since
6.0Declaration
Objective-C
@property (nonatomic) NSInteger tag;Swift
var tag: Int { get set } -
Simulate OK Button Press.
Since
5.0Declaration
Objective-C
- (void)simulateOkButtonPress;Swift
func simulateOkButtonPress() -
Clears the text field.
Since
5.0Declaration
Objective-C
- (void)clearInputText;Swift
func clearInputText() -
Simulate Delete Input Button Press.
Since
5.0Declaration
Objective-C
- (void)simulateDeleteButtonPress;Swift
func simulateDeleteButtonPress() -
Simulate Shift Button Press.
Since
6.0Declaration
Objective-C
- (void)simulateShiftButtonPress;Swift
func simulateShiftButtonPress() -
Build constraints for the keypad view in embedded mode.
Since
6.0Declaration
Objective-C
- (void)buildConstraintsForKeypadView;Swift
func buildConstraintsForKeypadView()
EMSecureInputUi Protocol Reference