You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//滑动开关
self.switchClose = [[LLSwitch alloc] init];
self.switchClose.onColor = [UIColor colorWithHex:BG_SHOUYE alpha:0.86]; // switch is open color 开关打开的颜色
self.switchClose.offColor = [UIColor colorWithHex:BG_SHOUYE alpha:0.66]; // switch is close color 开关关闭的颜色
self.switchClose.faceColor = HEXCOLOR(COLOR_TONGYI_LV); // switch face color 圆脸的颜色
self.switchClose.animationDuration = 1.2f; // switch open or close animation time 开关的动画时间
[self.view addSubview:self.switchClose];
[self.switchClose makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(self.view).offset(INSET);
// make.top.equalTo(self.).offset(INSET);
make.bottom.equalTo(self.bottomView.top).offset(-INSET);
make.width.equalTo(WIDTH_1*2);
make.height.equalTo(HEIGHT_6);
}];
The text was updated successfully, but these errors were encountered:
你好,自动布局不会显示
The text was updated successfully, but these errors were encountered: