swift 界面跳转和传值
//实例化将要跳转的controller let sb = UIStoryboard(name: "talkDetail", bundle:nil) let vc = sb.instantiateViewController(withIdentifier: "flowTalk") as! DetailViewController vc.imageUrl = URL1 vc.deHeadImage = head1 vc.talkID = phone //跳转 self.navigationController?.pushViewController(vc, animated: true)