https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/AutolayoutPG/ImplementingView/ImplementingView.html
实现UIView的
- (CGSize)intrinsicContentSize
{
}
方法,然后使用
[self invalidateIntrinsicContentSize];
通知窗体大小发生变化
2022-12-07 09:22:03
https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/AutolayoutPG/ImplementingView/ImplementingView.html
实现UIView的
- (CGSize)intrinsicContentSize
{
}
方法,然后使用
[self invalidateIntrinsicContentSize];
通知窗体大小发生变化