MBProgressHUD icon indicating copy to clipboard operation
MBProgressHUD copied to clipboard

customView subviews show wrong location

Open SmatMing opened this issue 6 years ago • 3 comments

default default

SmatMing avatar Sep 14 '18 08:09 SmatMing

is iOS 12? I got this with iOS 12 and I use Masonry

luyud avatar Sep 18 '18 05:09 luyud

你看我发截图里边,如果customView没有子视图,就只是一个imgV或者lab的话是没有问题的,但是如果我在customView添加了子视图,在设置 hud.customView = vie;之后,内部会调用setNeedsUpdateConstraints,然后就会导致子视图位置有错,这个时候就需要在hud.customView= vie之后通过Masonry在重新设置hud.customView基于父视图的约束位置才能显示正确。

原始邮件 发件人:[email protected] 收件人:jdg/[email protected] 抄送:那小子真坏[email protected]; [email protected] 发送时间:2018年9月18日(周二) 13:56 主题:Re: [jdg/MBProgressHUD] customView subviews show wrong location(#547)

is iOS 12? I got this with iOS 12 and I use Masonry — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

SmatMing avatar Sep 18 '18 06:09 SmatMing

i met this problem and implement intrinsicContentSize.And then ok. 截屏2020-04-02上午11 52 15

hahaGitHub avatar Apr 02 '20 03:04 hahaGitHub