Open Rochang opened 6 years ago
Demo -- 0中
self.view4.sd_layout .leftEqualToView(self.view2) .topEqualToView(self.view3) // 这两个方法的布局能加个方法吗? .heightRatioToView(self.view3, 1) .widthRatioToView(self.view2, 1); // 这样设置无效 // .heightIs(self.view3.height_sd) // .widthIs(self.view2.width_sd); // 为什么不提供下这两个方法 // .heightEqualToView(self.view3) // .widthEqualToView(self.view2);
自己给sd_layout加个category不就完了
Demo -- 0中