How to change Tab Bar or Navigation Title View font in Swift UI

Text(“天干地支”).font(.custom(“Weibei TC Bold”, size: 14))

Appearance

UINavigationBar.appearance().largeTitleTextAttributes = [.font : UIFont(name: “Weibei TC Bold”, size: 34)!]

UITabBarItem.appearance().setTitleTextAttributes([.font : UIFont(name: “Weibei TC Bold”, size: 12)!], for: [])

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store