PinCodeKeyboard SwiftUI - admiral-team/admiralui-ios GitHub Wiki

Struct

A view with dots element for secure pin code entry


Declaration

public struct PinCodeKeyboard: View

Overview

Pin code input field with the ability to enter from 2 to 10 values. It is possible to switch the state and number of values ​​of each input through variants.

Live example

Configure a PinCodeKeyboard

CodeInputControl(
 text: .constant("1234"),
 itemsCount: 5,
 status: .normal
)

Contribution

You can help us to find bugs or ask us to add features.

  • To start issue please use ready-made templates.
  • To make changes to the repository, you need to create a fork of the project, make changes to the code and create a pull request in our project. You can read more about this in the Github documentation.