Swift 跳转到storyboard创建的界面

    技术2022-07-11  177

    let destinationStoryboard = UIStoryboard(name:"storyboard文件名", bundle:nil) let destinationViewController = destinationStoryboard.instantiateViewController(withIdentifier: "控制器的id(在storyboard中设置)") self.navigationController?.pushViewController(destinationViewController, animated: true)

     

    Processed: 0.009, SQL: 10