I have this weird issue, in iOS 7 my application UIStatusBar
looks like that:
But in iOS 6.1 the UIStatusBar
looks like that:
So, I know what is the problem, it's because I'm overriding systemFontOfSize
and boldSystemFontOfSize
:
#import "UIFont+SytemFontOverride.h"
@implementation UIFont (SystemFontOverride)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-protocol-method-implementation"
+ (UIFont *)boldSystemFontOfSize:(CGFloat)fontSize;
{
return [UIFont fontWithName:@"ArialHebrew-Bold" size:fontSize];
}
+ (UIFont *)systemFontOfSize:(CGFloat)fontSize
{
return [UIFont fontWithName:@"Arial" size:fontSize];
}
#pragma clang diagnostic pop
@end
How can I override the system font without effect the UIStatusBar
in iOS6.1?