7-4 xib self.view.frame的宽高 {600,
2017-07-04 本文已影响89人
RBNote
大前提:我用的是Xcode8.3
一:问题描述
我的代码:
RBGesturePwdView *pwdView = [[RBGesturePwdView alloc] initWithFrame:self.view.frame];
[self.view addSubview: pwdView]; RBGesturePwdView *pwdView = [[RBGesturePwdView alloc] initWithFrame:self.view.frame];
[self.view addSubview: pwdView];
效果图:

二: 解决办法:
取消勾选 Use Trait Variations

解决后的效果图:
