objective-c changing UILabel's font not work -
i want alter label's font using below code:
uilabel *lblbolge = [[uilabel alloc] initwithframe:cgrectmake(100, 100, 100, 38)]; lblbolge.text=@"bölge"; lblbolge.font=[uifont fontwithname:@"carterone" size:10]; but still see scheme font , default size
any reason?
carter font not part of ios sdk. add together custom font need hold of .ttf or .otf file of font , add together project. here's tutorial on how that.
objective-c uilabel uifont
No comments:
Post a Comment