Recently updated my App to iOS 7 using XCode 5 and found that boundingRectWithSize gives different heights (in the size part) calculating the bounds of attributed Strings.
The following line gives me different Results between iOS 6 and iOS 7:
CGRect rect = [self boundingRectWithSize:CGSizeMake(inWidth, CGFLOAT_MAX) options:NSStringDrawingUsesLineFragmentOrigin | NSStringDrawingUsesFontLeading context:nil];
"self" is an NSAttributedString and "inWidth" is the maximum width in pixels the string should fit in.
I think thats because iOS 7 has a different font handling than iOS 6.
Anyone got a working solution to calculate the height of a string on both iOS versions?