Client error attempting to chang

2019-10-14  本文已影响0人  简书花花

使用QMUIKit iOS13崩溃

   if (@available(iOS 13,*)) {
                        UIEdgeInsets margins = contentView.layoutMargins;
                        contentView.frame = CGRectMake(-margins.left, -margins.top, margins.left + margins.right + contentView.frame.size.width, margins.top + margins.bottom + contentView.frame.size.height);
                    } else {
                        contentView.directionalLayoutMargins = value;
                    }
上一篇 下一篇

猜你喜欢

热点阅读