Skip to content

Instantly share code, notes, and snippets.

@likil33
Last active December 13, 2022 12:54
Show Gist options
  • Select an option

  • Save likil33/5972439b057567887081a9a010507f98 to your computer and use it in GitHub Desktop.

Select an option

Save likil33/5972439b057567887081a9a010507f98 to your computer and use it in GitHub Desktop.
Swift Standard Short help for base setup
Notification bar
====================
=> Navigation bar color and title color and text change and status bar:
AppDelegate
UINavigationBar.appearance().barTintColor = UIColor(displayP3Red: 47/255, green: 54/255, blue: 64/255, alpha: 1.0)
UINavigationBar.appearance().largeTitleTextAttributes = [NSAttributedString.Key.foregroundColor: UIColor.white]
UINavigationBar.appearance().titleTextAttributes = [NSAttributedString.Key.foregroundColor: UIColor.white]
Project Settings - Genenral
Status bar style : Light content
info-Plist : View controller-based status bar appearance - NO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment