UIView(MMMPreferredSizeChanges)
@interface UIView (MMMPreferredSizeChanges)
/// Signals to one of the interested parent views (supporting `MMMPreferredSizeChanges`)
/// that the size of this view could have potentially changed and they should measure things again.
///
/// This helps with containers that do not primarily rely on Auto Layout, like UITableView.
- (void)mmm_setPreferredSizeCouldChange;
@end
Undocumented
-
Signals to one of the interested parent views (supporting
MMMPreferredSizeChanges
) that the size of this view could have potentially changed and they should measure things again.This helps with containers that do not primarily rely on Auto Layout, like UITableView.
Declaration
Objective-C
- (void)mmm_setPreferredSizeCouldChange;
Swift
func mmm_setPreferredSizeCouldChange()