Open SmatMing opened 6 years ago
is iOS 12? I got this with iOS 12 and I use Masonry
你看我发截图里边,如果customView没有子视图,就只是一个imgV或者lab的话是没有问题的,但是如果我在customView添加了子视图,在设置 hud.customView = vie;之后,内部会调用setNeedsUpdateConstraints,然后就会导致子视图位置有错,这个时候就需要在hud.customView= vie之后通过Masonry在重新设置hud.customView基于父视图的约束位置才能显示正确。
原始邮件 发件人:Luyunotifications@github.com 收件人:jdg/MBProgressHUDMBProgressHUD@noreply.github.com 抄送:那小子真坏fzyxuming@163.com; Authorauthor@noreply.github.com 发送时间: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.
i met this problem and implement intrinsicContentSize.And then ok.