ios - Custom fonts in Xcode 6 - Swift don't work -


i'm trying use custom font in xcode ios project working on. written in swift , planning change font navigation bar. in app delegate file trying use code: uinavigationbar.appearance().titletextattributes = [nsfontattributename : futura-medium, size: 20,)] has not worked.

the font present in p list , build phase being targeted current project. shed light on how may able around this?

check following syntax:

 uinavigationbar.appearance().titletextattributes = [nsfontattributename : uifont(name: "futura-medium", size: 20)!, nsforegroundcolorattributename : uicolor.whitecolor()]; 

Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -