【发布时间】:2016-05-03 22:14:11
【问题描述】:
单击表格视图单元格中的按钮后,我试图呈现一个新视图。视图可以显示,但没有标签栏。有没有用标签栏显示视图的解决方案?谢谢。
使用 segue 或 progammatically 是不对的。
func viewDetailAction(sender: UIButton){
let vc = self.storyboard?.instantiateViewControllerWithIdentifier("patientDetailVC ") as! PatientDetailViewController
// self.presentViewController(vc, animated: true, completion: nil)
// self.navigationController?.pushViewController(vc, animated: true)
self.performSegueWithIdentifier("patientDetailCell", sender: self)
}
【问题讨论】:
标签: swift tabbar uitabcontroller