NavigationButton and documentation questions

In the NavigationButton, what is the purpose of the isDetail parameter? If I change it to false the Landmarks app seems to look/act the same, and the documentation is muite on the subject.


Speaking of documentaiton, when Swift was announced at WWDC 2014, it was released with a 400 page *book* on the subject ... does anyone know if there's going to be a SwiftUI equivalent?

Accepted Reply

It could be related to split views. NavigationButton pushes the new view on the same navigation stack as the currentView. Setting isDetail to true might cause the destination view to be pushed on the split view's second navigation stack.

Replies

It could be related to split views. NavigationButton pushes the new view on the same navigation stack as the currentView. Setting isDetail to true might cause the destination view to be pushed on the split view's second navigation stack.