使用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;
}