RKNotificationHub icon indicating copy to clipboard operation
RKNotificationHub copied to clipboard

kCountMagnitudeAdaptationRatio

Open fantasticiOS opened this issue 7 years ago • 0 comments

We use a view to hold a UILabel,use "setFrame"function to hold a text,but actually,the width we calculated is not precise.kCountMagnitudeAdaptationRatio will not as precise as we expected when count becomes larger and larger.What causes the problem. CGSize size = [badgeText boundingRectWithSize:CGSizeMake(MAXFLOAT, MAXFLOAT) options:1|2|8|32 attributes:@{NSFontAttributeName:TT_FONT_ZH(10)} context:nil].size;

fantasticiOS avatar Nov 29 '18 07:11 fantasticiOS