Set Roboto font family for text labels and buttons.

This commit is contained in:
Yuki MIZUNO committed 2015-01-05 15:26:19 +09:00
1 parent e325ee1c27
commit 514d79fde9
5 files changed
+18 -3

No files matched your search

+4
View File
@@ -18,6 +18,10 @@ static NSOperationQueue* mainQueue;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[[UILabel appearance] setFont:[UIFont fontWithName:@"Roboto-Regular" size:[UIFont systemFontSize]]];
[[UISegmentedControl appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIFont fontWithName:@"Roboto-Regular" size:[UIFont systemFontSize]], NSFontAttributeName, nil] forState:UIControlStateNormal];
[[UIButton appearance].titleLabel setFont:[UIFont fontWithName:@"Roboto-Regular" size:[UIFont systemFontSize]]];
return YES;
}