Skip to content

Commit 0fa610b

Browse files
author
molicechen
committed
4.4.1
1 parent 9f72625 commit 0fa610b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QMUIKit/UIKitExtensions/UIView+QMUI.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ - (void)setQmui_layoutSubviewsBlock:(void (^)(__kindof UIView * _Nonnull))qmui_l
697697
// 实测只有 iOS 14 有这种问题,iOS 13、15 都没事
698698
// https://github.com/Tencent/QMUI_iOS/issues/1247
699699
// https://km.woa.com/group/24897/articles/show/456340
700-
if (IOS_VERSION >= 14.0 && IOS_VERSION < 15.0 && IS_IPAD && viewClass == UIView.class)
700+
if (IOS_VERSION >= 14.0 && IOS_VERSION < 15.0 && IS_IPAD && viewClass == UIView.class) {
701701
IMP layoutSubviewsIMPForUIKit = class_getMethodImplementation(UIView.class, @selector(layoutSubviews));
702702
SEL layoutSubviewSEL = @selector(layoutSubviews);
703703
const char * typeEncoding = method_getTypeEncoding(class_getInstanceMethod(UIView.class, layoutSubviewSEL));

0 commit comments

Comments
 (0)