浏览代码

ok

pull/1/head
Burrit0z 4 年前
父节点
当前提交
c17e521190
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      KAIBatteryStack.mm

+ 3
- 0
KAIBatteryStack.mm 查看文件



} else { } else {
int height = (self.number * (bannerHeight + spacing)); int height = (self.number * (bannerHeight + spacing));
if([self.superview.subviews count]>1) {
height = (self.number * (bannerHeight + spacing)) - spacing;
}
self.heightConstraint.constant = height; self.heightConstraint.constant = height;


UIStackView *s = (UIStackView *)(self.superview); UIStackView *s = (UIStackView *)(self.superview);

正在加载...
取消
保存