Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codeLength 这个参数在哪设置? #6

Closed
AlleniCode opened this issue Feb 25, 2019 · 1 comment
Closed

codeLength 这个参数在哪设置? #6

AlleniCode opened this issue Feb 25, 2019 · 1 comment

Comments

@AlleniCode
Copy link

我在 setBoxInputModel 方法里设置了一下,运行崩溃了

@BearRan
Copy link
Member

BearRan commented Feb 25, 2019

请在loadAndPrepareViewWithBeginEdit调用之前设置相关属性

CRBoxInputView *boxInputView = [[CRBoxInputView alloc] initWithFrame:CGRectMake(0, 0, 200, 50)];
boxInputView.codeLength = 4;
[boxInputView loadAndPrepareViewWithBeginEdit:YES]; // BeginEdit: If need begin edit.
[self.view addSubview:boxInputView];

@BearRan BearRan closed this as completed Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants