私は同じ問題がありました。これは今解決されました。これが役に立ったら教えてください。
私はすでに名前DynamicSuperViewを持つ別のビューにテーブルビューセルからリンクされているセグエこれは誰かに役立ちます
func tableView(_tableView: UITableView, didSelectRowAt indexPath: IndexPath)
{
//Remove the below line from this function as it will perform segue.
//performSegue(withIdentifier: "DynamicSegue", sender: self)
}
override func prepare(for segue: UIStoryboardSegue, sender: AnyObject?) {
// This will actually perform your segue
var DestViewController = segue.destination as! DynamicSuperView
let selectedRow = tableView.indexPathForSelectedRow?.row
DestViewController.labelText = names[selectedRow!]
}
希望を持っています。
出典
2016-08-17 23:57:23
Dev
を助ける願っていますテーブルビュー
からでなければなりません'self.navigationController.popViewControlAnimated(true)'を探していますか? – JAL
私は私の問題は、1つに似ていると思う:http://stackoverflow.com/questions/26337304/view-appearing-twice-when-performing-segue – JRdsdUY
リラックスセグを使用する - http://stackoverflow.com/questions/ 36824524 /プログラムで定義される新しいナビゲーションコントローラの注文スタック/ 36829034#36829034 – Paulw11