Closed acegreen closed 8 years ago
Here is a quick video.
Note: The segue dimisses in a fade like motion which seems to indicate that the dismiss segue works at least somewhat
Ah resolved. Migration to Swift 3 caused the method to be named different. The VC still adhered to the UIViewControllerTransitioningDelegate because all methods are optional
@andreamazz maybe consider making the two methods below non-optional?
For future reference
Incorrect method names
func animationController(forPresentedController presented: UIViewController, presenting: UIViewController, sourceController source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
}
func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
}
Correct method names
func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
}
func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
}
The method are define as optionals in UIKit's UIViewControllerTransitioningDelegate
, I can't do anything about it 😬
The method names looks correct to me in the current master branch.
Hello,
I came across an issue where I refactored my storyboard and am using a storyboard reference. My segue is identical to what it was when I had my VCs in the same storyboard and the transition worked.
Now the bubble transition is not honored and the segue is performed as a regular modal . prepareForSegue is being called and has the following:
With the new storyboard reference I have tried two options
Both ignored the transition