I want to know is there any Font Private API
or Framework that can change or replace font for all entire iOS systems font like safari , mail etc...?
It's fine for review because i am not upload to App Store.
I just want to use only myself.
I want to know is there any Font Private API
or Framework that can change or replace font for all entire iOS systems font like safari , mail etc...?
It's fine for review because i am not upload to App Store.
I just want to use only myself.
I haven't tried this, but you could create a category for UIFont
and replace the +systemFontOfSize:
method implementation (and maybe the one for bold
and italic
as well).
Most controls should be using these methods.
Edit: tested, seems to work well. Just make sure to replace the methods for bold
and italic
as well.
@interface UIFont(Extra)
@end
@implementation UIFont(Extra)
+(UIFont *)systemFontOfSize:(CGFloat)size{
return [UIFont fontWithName:@"Amelie" size:size]; // note that "Amelie" is a custom font, doesn't come by default with iOS.
}
+(UIFont *)boldSystemFontOfSize:(CGFloat)size{
return [UIFont fontWithName:@"Amelie" size:size];
}
@end
This is not possible. You do not have access to any other app / system code from your app. This is definitely not possible from Xcode and at the very least would require the device to be jailbroken.