NavigationLink

#navigationlink #sheet

Overview

NavgationLink and Sheet are work similarly. But the difference is;

  • NavigationLink => For showing the details about the item you tap

  • Sheet => For unrelated content (Settings, Compose window, etc.)

When you use NavigationLink on the right side of the row there will be a chevron sign ">" which indicates that the link will will show a detail page related to the item you tap.

Sample Codes

Sources

Videos

Hacking with Swift / 100 Days / Day-39 - Pushing new views onto the stack using NavigationLink
Sean Allen / SwiftUI Navigation - NavigationView & NavigationLink Tutorial

Articles / Documents

Last updated

Was this helpful?