当前位置: 首页 > 工具软件 > Swift-T > 使用案例 >

swift-跳转

栾耀
2023-12-01

//psuh

 self.navigationController?.pushViewController(TwoVc, animated: true);

//pop

 self.navigationController?.popViewController(animated: true);

//静态跳转

//        self.present(<#T##viewControllerToPresent: UIViewController##UIViewController#>, animated: <#T##Bool#>, completion: <#T##(() -> Void)?##(() -> Void)?##() -> Void#>)

//dismiss

 //静态返回
        //self.dismiss(animated: <#T##Bool#>, completion: <#T##(() -> Void)?##(() -> Void)?##() -> Void#>)
 类似资料: