override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath:NSIndexPath) {
let storyboard = UIStoryboard(name: "Customer", bundle: nil)
var destinationVC : AnyObject!
case 0: //CASE FOR default i.e. First VIEWCONTROLLER
destinationVC = storyboard.instantiateViewControllerWithIdentifier("CustomerNewQuote") as! CustomerNewQuote
self.presentViewController(destinationVC as! UIViewController, animated: true, completion: nil)
// showViewController(destinationVC as! UIViewController, sender: destinationVC)
print("First tapped")
break;
同时presentViewController和showViewController隐藏了被叫视图controller.how的导航栏以防止这种情况发生。我在模拟器中添加了模拟指标和视图的屏幕截图。然后从其他视图调用下面的视图或者通过crtl + drag方法,导航栏消失了。我是iOS PLZ帮助的新手。提前谢谢。