質問: self.storyboard!.instantiateViewController(withIdentifier: "PreviousView") as UIViewController //画面遷移処理 self.present( Swipe, animated: true, completion: nil) } } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } }
回答: present(_:animated:completion:)ではなく、show(_:sender:)を使って下さい。