代码:
backBtn.titleLabel.font = [UIFont fontWithName:@"Thonburi-Bold" size:15.0];//返回按钮
说明:
Font Family 字体家族名称
Font 具体的字体样式
Font Family: American Typewriter
Font: AmericanTypewriter
Font: AmericanTypewriter-Bold
Font Family: AppleGothicFont: AppleGothicFont Family: ArialFont: ArialMTFont: Arial-BoldMTFont: Arial-BoldItalicMTFont: Arial-ItalicMTFont Family: Arial Rounded MT BoldFont: ArialRoundedMTBoldFont Family: Arial Unicode MSFont: ArialUnicodeMSFont Family: CourierFont: CourierFont: Courier-BoldObliqueFont: Courier-ObliqueFont: Courier-BoldFont Family: Courier NewFont: CourierNewPS-BoldMTFont: CourierNewPS-ItalicMTFont: CourierNewPS-BoldItalicMTFont: CourierNewPSMTFont Family: DB LCD TempFont: DBLCDTempBlackFont Family: GeorgiaFont: Georgia-BoldFont: GeorgiaFont: Georgia-BoldItalicFont: Georgia-ItalicFont Family: HelveticaFont: Helvetica-ObliqueFont: Helvetica-BoldObliqueFont: HelveticaFont: Helvetica-BoldFont Family: Helvetica NeueFont: HelveticaNeueFont: HelveticaNeue-BoldFont Family: Hiragino Kaku Gothic **** W3Font: HiraKakuProN-W3Font Family: Hiragino Kaku Gothic **** W6Font: HiraKakuProN-W6Font Family: Marker FeltFont: MarkerFelt-ThinFont Family: STHeiti JFont: STHeitiJ-MediumFont: STHeitiJ-LightFont Family: STHeiti KFont: STHeitiK-MediumFont: STHeitiK-LightFont Family: STHeiti SCFont: STHeitiSC-MediumFont: STHeitiSC-LightFont Family: STHeiti TCFont: STHeitiTC-LightFont: STHeitiTC-MediumFont Family: Times New RomanFont: TimesNewRomanPSMTFont: TimesNewRomanPS-BoldMTFont: TimesNewRomanPS-BoldItalicMTFont: TimesNewRomanPS-ItalicMTFont Family: Trebuchet MSFont: TrebuchetMS-ItalicFont: TrebuchetMSFont: Trebuchet-BoldItalicFont: TrebuchetMS-BoldFont Family: VerdanaFont: Verdana-BoldFont: Verdana-BoldItalicFont: VerdanaFont: Verdana-ItalicFont Family: ZapfinoFont: ZapfinoUIFont fontWithName 后不知道字体的名字,看了下面的全解决!