Answers for "swift make navigation bar button easier to see"

3

add navigation bar button swiftui

.navigationBarItems(
    leading: Button(action: {
        // Actions
    }, label: { Text("Button") }),

    trailing: Button(action: {
    // Actions
    }, label: { Image("Icon") })
)
Posted by: Guest on March-14-2020
2

swift change navigation bar title

// Place this in your didFinishLaunchingWithOptions method in the AppDelegate
let attrs = [
  NSAttributedString.Key.foregroundColor: UIColor.white, // changes color
  NSAttributedString.Key.font: UIFont(name: "Futura-Bold", size: 17)! // changes font
]

UINavigationBar.appearance().titleTextAttributes = attrs
Posted by: Guest on June-16-2020

Code answers related to "swift make navigation bar button easier to see"

Code answers related to "Swift"

Browse Popular Code Answers by Language