Programmatically navigate to another view controller/scene

后端 未结 19 3179
一向
一向 2020-11-27 11:29

I got an error message during navigating from first view controller to second view controller. My coding is like this one

let vc = LoginViewController(nibNam         


        
19条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-27 12:06

     let vc = DetailUserViewController()
     vc.userdetails = userViewModels[indexPath.row]
     self.navigationController?.pushViewController(vc, animated: true)
    

提交回复
热议问题