Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

add navigation bar button swiftui

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

    trailing: Button(action: {
    // Actions
    }, label: { Image("Icon") })
)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #navigation #bar #button #swiftui
ADD COMMENT
Topic
Name
9+9 =