Just add another Navigation Controller
to your modal view controller. Follow the steps
- Select the
Modal View Controller
- Go to
Editor menu
- Select
Embed In
- Select
Navigation Controller
Run the application. Now it should work perfectly.
Hope this solves your problem.