Skip to content

Conversation

@CloudlessMoon
Copy link

@CloudlessMoon CloudlessMoon commented Mar 18, 2021

见此issue:#1186
1、此PR是通过设置约束来实现的,我看QMUI里基本没有约束相关的代码,可能不符合QMUI的设计思路。
2、实现方式也可以采用hook QMUIToastView.superview的layoutSubviews的形式,通过+ (nullable NSArray <QMUIToastView *> *)allToastInView:(UIView *)view方法来拿到toastViews,设置Frame

@tencent-adm
Copy link
Member

tencent-adm commented Mar 18, 2021

CLA assistant check
All committers have signed the CLA.

@Tencent Tencent deleted a comment from CloudlessMoon Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants