1 2 3 4 5 |
UINavigationBar.appearance().backIndicatorImage = UIImage.icon(from: KyIconFonts.AppIconFont, iconColor: .black, code: AppIconFontKeys.upload.text, imageSize: CGSize(width: 20, height: 20), ofSize: 20) UINavigationBar.appearance().backIndicatorTransitionMaskImage = UIImage.icon(from: KyIconFonts.AppIconFont, iconColor: .black, code: AppIconFontKeys.upload.text, imageSize: CGSize(width: 20, height: 20), ofSize: 20) // 修改颜色 UINavigationBar.appearance().titleTextAttributes = [NSAttributedStringKey(rawValue: NSAttributedStringKey.font.rawValue): UIFont(name: AppDefine.FontName.PingFang_SC_Medlum, size: 14)!] |