Post

Replies

Boosts

Views

Activity

Reply to preferredTransition not working when using setViewControllers(_:animated:)
@DTS Engineer I'm not building split view, nor am I using UISplitViewController — my view hierarchy is quite simple. I have a standard UICollectionView, and tapping a cell is supposed to show a detail view. This is conceptually similar to the Apple sample code, where a detail view controller is pushed using navigationController.pushViewController. However, due to the existing product behavior, I need to present the detail screen using: navigationController.setViewControllers([listViewController, detailViewController]) The issue is: I would still like to implement the fluid zoom transition effect as demonstrated in the Apple documentation, but it seems the transition isn't applied when using setViewControllers API
Topic: UI Frameworks SubTopic: UIKit Tags:
4w