Computer Science, asked by siddharthgiri42, 1 month ago

how can you navigate between views?​

Answers

Answered by crankybirds30
1

Answer:

a NavigationLink is used to navigate between views. A NavigationLink is a button, where you can determine the body yourself. The body of the NavigationLink is the view your users have to press on. The NavigationLink property has one parameter, which is the destination view.

Answered by singhmahima262
1

Explanation:

When navigating between views, a NavigationView is needed to allow the app to navigate. This can be compared to an UINavigationController in UIKit. The NavigationView contains a body, which can be any view. To set the title of the current view, the function navigationBarTitle is needed.

Similar questions