Given the code below, when I click the "Accept" button, it doesn't navigate to SecondViewController, it only shows a black screen. Any help appreciated.
   let alertController = UIAlertController(title: tit!, message: "Book Now!", preferredStyle: .Alert)
   let declineAction = UIAlertAction(title: "Decline", style: .Cancel, handler: nil)
   alertController.addAction(declineAction)
   let acceptAction = UIAlertAction(title: "Accept", style: .Default) { (_) -> Void in
        let nv=SecondViewController()
        self.presentViewController(nv, animated:true, completion:nil)
    }
   presentViewController(alertController, animated: true, completion: nil)
   alertController.addAction(acceptAction)
 
     
     
    