Manually adding the rootViewController’s view to the view hierarchy is no longer supported. Please allow UIWindow to add the rootViewController’s view to the view hierarchy itself.

I was having this issue when setting a new rootViewController from loginViewController , which was a rootViewController in the storyboard before the transition. I was not sure what was the problem. Since this works perfect on iOS 13 if I don’t use the [UIView transitionFromView] but I wanted to keep the animation effect, it looked …

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Navigation in SwiftUI with multiple views

Navigation in SwiftUI video Download Complete Login app with Laravel API I was trying to build a simple app in iOS + SwiftUI with multiple views that uses NavigationView and NavigationLink. This app is very simple and uses a model to navigate between destinations. Enum ViewType tracks all the destinations. If you want to have …

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •