You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a simulator with iOS 13.0, programmatically navigation works fine, but on the same simulator with iOS 14.5 and on a physical device with iOS 14.5, the transition does not work. With what it can be connected?
// First View
@EnvironmentObjectvarnavigationStack:NavigationStack
//...
DispatchQueue.main.async{letdestination=ModelDetailContainerView().environmentObject(appStore).environmentObject(navigationStack)self.navigationStack.push(destination)}
// Second View
@EnvironmentObjectvarnavigationStack:NavigationStackvarbody:someView{ModelDetailRenderView(item: detailedSelectedItem).valueChanged(value: detailedSelectedItem.wrappedValue){ value inif value ==nil{
navigationStack.pop(to:.root)}}}
UPD
Transition occurs by tap on the context menu item of custom cell. Programmatic behavior of all interested entities does not change depending on iOS version.
The text was updated successfully, but these errors were encountered:
On a simulator with iOS 13.0, programmatically navigation works fine, but on the same simulator with iOS 14.5 and on a physical device with iOS 14.5, the transition does not work. With what it can be connected?
UPD
Transition occurs by tap on the context menu item of custom cell. Programmatic behavior of all interested entities does not change depending on iOS version.
The text was updated successfully, but these errors were encountered: