Skip to content

Question: Simulate detail segue animationΒ #69

@leofontes

Description

@leofontes

Hey everybody,

I'm working on an app in which we have many situations of master-detail flow, if we were using Storyboard segues we would use the Detail Segue.

let detail: UIViewController = UIStoryboard(name: "Storyboard", bundle: nil).instantiateViewController(withIdentifier: Storyboard.identifier)

viewController.present(detail, animated: true, completion: completionHandler)

return detail as! Routable

Given this code that we're using right now, how could we simulate the same animation as the DetailSegue one? (new viewController slides left to be on top of old viewController)

We tried looking into the default animations provided by Apple but they're flashy and not what we're looking for, also we're aware there's a work around by creating an interactive transition, but we were wondering if there's something more straightforward than that.

Thank you! Great job on ReSwift and ReSwiftRouter πŸ˜‰

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions