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

页面上移 #44

Open
liuyong opened this issue Dec 15, 2020 · 0 comments
Open

页面上移 #44

liuyong opened this issue Dec 15, 2020 · 0 comments

Comments

@liuyong
Copy link

liuyong commented Dec 15, 2020

self.edgesForExtendedLayout = UIRectEdgeNone;
当输入完验证码后,页面会上移

主要代码:
self.edgesForExtendedLayout = UIRectEdgeNone;
...
[_boxInputView mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.mas_equalTo(120);
make.right.mas_equalTo(-20);
make.left.mas_equalTo(20);
make.height.mas_equalTo(50);
}];

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

1 participant