Why don't you just download the latest version? This has been fixed as of commit a50f7a3.
Deprecate sizeWithFont: UIFont constrainedToSize:CGSize lineBreakMode:NSLineBreakMode in MBProgressHud
-
03-08-2022 - |
문제
In my app I'm using the MBProgressHUD, but when I try to run my app it shows me that the method:
sizeWithFont:(UIFont *) forWidth:(CGFloat) lineBreakMode:(NSLineBreakMode)
it's deprecated and it suggest me to use this method:
boundingRectWithSize:(CGSize) options:(NSStringDrawingOptions) attributes:(NSDictionary *) context:(NSStringDrawingContext *)
but how I can use this method in this library? The method it's in the MBProgressHUD.m
. There's a simple solution to silence this warning?
해결책
제휴하지 않습니다 StackOverflow