グローバル変更(全体のアプリはすべてのバックボタンを取り除くます):
ストーリボード
ストーリーボードポイントのブランク、および図。
コード
Appdelegateファイルには、単語を追加するUINavigationBar.appearance()
意味が全てをオフに変更することですUINavigationBar
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
UINavigationBar.appearance().tintColor = .yellow
return true
}
复制代码
ローカル修正
viewDidLoadでは、プラスの文章内のページを変更する必要があります
navigationController?.navigationBar.tintColor = .yellow
复制代码
これらは、私の現在を総括する最も簡単な方法であり、追加することを歓迎します。
広告時間:
ブラザーは、ビデオチュートリアルのiOS開発の二組を行っていた、オーディションを歓迎します:
m.cctalk.com/inst/s9vfhe...
ます。https://juejin.im/post/5d09bf5a6fb9a07ef4440a98で再現