我试图在点击表格视图单元格中的按钮后呈现一个新视图。视图可以显示,但没有标签栏。有没有用标签栏显示视图的解决方案?谢谢。
使用 segue 或程序性地使用是不正确的。
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)
}