I develop the app for iPad where I use a splitViewController.
The structure is: a splitViewController connects master as a master via a default NavigationController. Then, I have a segue from master1 to master2 and it works fine.
When I segue, on top I can see a back button. But I have to implement this "go back" functionality programmatically. And here is a problem.
I tried several options ,mostly using
or
and nothing happens.
The first line of code perfectly works on iPhone app but not in iPad
I would appreciate a lot if somebody could assist me in resolving this issue.
Thanks in advance
The structure is: a splitViewController connects master as a master via a default NavigationController. Then, I have a segue from master1 to master2 and it works fine.
When I segue, on top I can see a back button. But I have to implement this "go back" functionality programmatically. And here is a problem.
I tried several options ,mostly using
Code:
[[presentingViewController dismissModalViewController]
Code:
sptliViewController viewController] objectatindex 0] dismissModalVC
The first line of code perfectly works on iPhone app but not in iPad
I would appreciate a lot if somebody could assist me in resolving this issue.
Thanks in advance
Last edited by a moderator: