0

I have views setup like this ->

HomePage
|
|_ PageTwo
   |
   |_ PageThree

I navigate from HomePage to PageTwo using a navigation link. And I do the same to get to PageThree. What is the best way to dismiss PageThree and PageTwo with a button on PageThree?

I thought I could maybe bind to the environment key of PageTwo but I am worried about the stability of dismissing a view by dismissing its parent. So is there a better way to go about this?

Arnav Motwani
  • 435
  • 2
  • 17

0 Answers0