VGSCVCTextField
public final class VGSCVCTextField : VGSTextField
An object that displays an editable text area. Can be use instead of a VGSTextField
when need to show CVC/CVV images for credit card brands.
-
Available CVC icon positions enum.
See moreDeclaration
Swift
public enum CVCIconLocation
-
CVC icon position inside
VGSCardTextField
.Declaration
Swift
public var cvcIconLocation: VGSCVCTextField.CVCIconLocation { get set }
-
CVC icon size.
Declaration
Swift
public var cvcIconSize: CGSize { get set }
-
The natural size for the Textfield, considering only properties of the view itself.
Declaration
Swift
public override var intrinsicContentSize: CGSize { get }
-
Asks custom image for specific
VGSPaymentCards.CardBrand
Declaration
Swift
public var cvcIconSource: ((VGSPaymentCards.CardBrand) -> UIImage?)?