I have written my Spotlight API code and it seems to be working okay. I can check it out in the spotlight but there's only one problem :
It won't take me to the desired view controller! How do I do that? I've added a
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
if segue.identifier == "showIt" {
let ThatVC = segue.destinationViewController as! ItThat
}
}
but it still won't take me to the right spot. Where am I going wrong?