I want to set bold font on UILabel
. I generate label by coding. when i try to set bold font on label ios set system regular font but i want to set 'Noto sans-Bold' font. In storyboard set font completely.
My code is
UILabel *lblName=[[UILabel alloc]initWithFrame:CGRectMake(0, 25, 100, 21)];
lblName.text=@"Hello World";
[lblName setFont:[UIFont fontWithName:@"Noto Sans-Bold" size:15.0]];
[self.view addSubview:lblName];