Closed wangerk closed 8 years ago
In addition: how to change customView's size ?
The document comment has said:
The UIView (e.g., a UIImageView) to be shown when the HUD is in MBProgressHUDModeCustomView. The view should implement intrinsicContentSize for proper sizing. For best results use approximately 37 by 37 pixels.
You need to create a new UIView subclass and override its intrinsicContentSize
method. UIImageView works because it has its intrinsic content size according to the image you provided.
sounds dispiriting ! It means that I have to create a new UIView subclass when I want to use 'customView' feature~~~~God help me !