PopupController
PopupController copied to clipboard
Having trouble with popup
I did exactly like your example but when i tap the button to call the popup it crash right here
in PopupSBVC.swift
class func instance() -> PopupSBVC {
let storyboard = UIStoryboard(name: "PopupSBVC", bundle: nil)
return storyboard.instantiateInitialViewController() as! PopupSBVC
}
in my Viewcontroller.swift
@IBAction func rightBtnClicked(sender: AnyObject) {
PopupController
.create(self)
.show(PopupSBVC.instance())
}
I had the storyboard name PopupSBVC
please help, many thanks
Hi @iHunterX Can I see the logs?