Closed fictorial closed 10 years ago
No crash
if ([UIFont respondsToSelector:@selector(preferredFontForTextStyle:)]) { return [UIFont preferredFontForTextStyle:UIFontTextStyleBody]; }
Crash
if ([UIFont respondsToSelector:@selector(preferredFontForTextStyle:)]) return [UIFont preferredFontForTextStyle:UIFontTextStyleBody];
Hmm, but then I changed the format from LLVM to Google... No crash. And, back to LLVM and no more crashes... Odd.
No crash
Crash