Skip to content

pushing viewController leftMenu cannot work #53

@freddy5566

Description

@freddy5566

Hi as title

I follow the example _ = panel!.center(myVC)

It turns out that the center viewController is pushed right, but the leftMenu is not working...

I cannot open leftMenu even called panel?.openLeft(animated: true)
I also print panel?.left, and I can get the right menuVC, just cannot use it

do I need to extension other transition stuff?

Here is my setUp inside appDelegate

  private func setUpControllers() {
    window = UIWindow(frame: UIScreen.main.bounds)
    guard let window = window else { fatalError("no windows") }

    let centerVC = UINavigationController(rootViewController: myCenterVC())
    let menuVC = MyMenuVC()

    let rootVC = FAPanelController()
    _ = rootVC.center(centerVC).left(menuVC)

    window.rootViewController = rootVC
  }

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions