Swift

swift push , po , present , dism

2019-01-02  本文已影响0人  江河_ios

//push 跳转

        let chooseVC = ChooseAvdioDataViewController()

        self.navigationController?.pushViewController(chooseVC, animated:true)

// po 跳转

        self.navigationController?.popViewController(animated:true)

//present 跳转

 let vc = SwiftPresendViewController()

  self.present(vc, animated:true, completion:nil)

//dismiss 跳转

 self.dismiss(animated:true, completion:nil)

上一篇 下一篇

猜你喜欢

热点阅读