I\'m dismissing a modal view controller and then immediately presenting another one, but the latter never happens. Here\'s the code:
[self dismissModalViewContro
In Swift:
Your dismissViewController should look like this:
var presentingVC_Delegate: mainLists_PopoverDelegation!
@IBAction fund button_Pressed (sender: AnyObject) {
self.dismissViewControllerAnimated(true, completion: { finished in
self.presentingVC_Delegate.presentOtherVC()
print("DismissVC completion block says hello")
})
}
Where the mainVC houses that presentOtherVC:
func presentSettingsVC () {
self.performSegueWithIdentifier("present_OtherVC", sender: nil)
}