Skip to content

Commit

Permalink
4.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
molicechen committed Dec 14, 2021
1 parent 9f72625 commit 0fa610b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QMUIKit/UIKitExtensions/UIView+QMUI.m
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ - (void)setQmui_layoutSubviewsBlock:(void (^)(__kindof UIView * _Nonnull))qmui_l
// 实测只有 iOS 14 有这种问题,iOS 13、15 都没事
// https://github.com/Tencent/QMUI_iOS/issues/1247
// https://km.woa.com/group/24897/articles/show/456340
if (IOS_VERSION >= 14.0 && IOS_VERSION < 15.0 && IS_IPAD && viewClass == UIView.class)
if (IOS_VERSION >= 14.0 && IOS_VERSION < 15.0 && IS_IPAD && viewClass == UIView.class) {
IMP layoutSubviewsIMPForUIKit = class_getMethodImplementation(UIView.class, @selector(layoutSubviews));
SEL layoutSubviewSEL = @selector(layoutSubviews);
const char * typeEncoding = method_getTypeEncoding(class_getInstanceMethod(UIView.class, layoutSubviewSEL));
Expand Down

0 comments on commit 0fa610b

Please sign in to comment.