ios - swift change tab bar title font -


i wonder how can change font , size of title in tabs when use tab bar.

i have looked in docs , cant find title font , size - source

you can change via appearance proxy:

let font: uifont = ... uitabbaritem.appearance().settitletextattributes([nsfontattributename: font], forstate: .normal) 

you should put in app delegate in func application(application: uiapplication, didfinishlaunchingwithoptions launchoptions: [nsobject: anyobject]?) -> bool


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -