Comment on How to get the last two items from the stack of a NavigationPath() object Hi @sha921, unfortunately, no as I will have different types stacking in the array in the real application. I provided this code as a simple example that describes the problem to which I am seeking a solution. UI Frameworks SwiftUI Mar ’24