Getting an error when dismissing a view controller, not seen anything like it before, and not much about it on the internet.
heres the error: * Assertion failur
Make sure to dismiss the view controller from the presenting view.
https://developer.apple.com/library/ios/featuredarticles/ViewControllerPGforiPhoneOS/ModalViewControllers/ModalViewControllers.html
When it comes time to dismiss a presented view controller, the preferred approach is to let the presenting view controller dismiss it. In other words, whenever possible, the same view controller that presented the view controller should also take responsibility for dismissing it.