I've been learning a lot about popovers and found out how to get them to dismiss gracefully using delegates. The issue I have now is that there is a popup in my program that is controlled with a UINavigationController
.
When the user presses a button on my parent ViewController
, the popover comes up as it should and the user can navigate through 3 scenes using tables. Everything works fine until it comes time to dismiss the pop over.
On the final scene I would like to dismiss the popover whenever the user presses an index. If I didn't have the UINavigationController
attached to these views it would be easy. I don't know how to implement the delegate.
I tried making a delegate in my UINavigationController
implementation, but XCode tells me that UINavigationController
already has a delegate. Is there some way to use the delegate that is already there?
Any help would be greatly appreciated.