SDAutoLayout
SDAutoLayout copied to clipboard
大佬看下我这样写有什么问题
UIView *view1 = [[UIView alloc] init]; view1.translatesAutoresizingMaskIntoConstraints = NO; [self.view addSubview:view1]; view1.sd_layout.heightIs(100).spaceToSuperView(UIEdgeInsetsMake(84, 5, FLT_MAX, 5)); view1.backgroundColor = [UIColor redColor];
不显示