可能您的segue指向UINavigationController,请首先尝试指定该目的地:
UINavigationController
let destVC = segue.destination as! UINavigationController let slideVC = destVC.topViewController as! ViewControllerSlide //...