由使用Masonry布局不能立即获取到frame的问题

2023-12-24  本文已影响0人  wodeph

1、// 先调用layoutIfNeeded方法  [self.view layoutIfNeeded];

2、再获取frame

上一篇 下一篇

猜你喜欢

热点阅读