Answer the question
In order to leave comments, you need to log in
RootViewController does not appear on swipe in SplitViewController when installing a delegate?
If the UISplitViewControllerDelegate delegate is not set, then the picture is normal, I can "pull out" my RootViewController with a swipe:
Once I set the delegate:
// MARK: Lifecycle methods
override func viewDidLoad() {
super.viewDidLoad()
splitViewController?.delegate = self
}
I can’t “pull out” anything more with a swipe. You have to switch to landscape mode and work from there. Why is this happening?
Answer the question
In order to leave comments, you need to log in
Maybe you're overriding the delegate methods
somehow incorrectly .
To experiment, create an empty master-detail project and check how the application behaves if you set or do not set a delegate.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question