Answers for "how to add button on navigation bar in swift"

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

Code answers related to "how to add button on navigation bar in swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language