I have two UIViewController named as ViewControllerA and ViewControllerB
. ViewControllerA is the parent class and ViewControllerB is a child class, it is view by [self.navigationController pushViewController:viewControllerB animated:YES];
from ViewControllerA class. In ViewControllerB class i hidden the NavigationBar. In button action i coded to come ViewControllerA from ViewControllerB [self.navigationController popViewControllerAnimated:YES];
. Now, i want to come ViewControllerA from ViewControllerB using swapping action(Scroll to previous screen) rather than using UIButton. How can i do this? Can anyone please provide me any suggestion or ideas? Thanks in advance.
How to come parent viewcontroller from child viewcontroller by using scrolling action?
247 views Asked by Yuvaraj.M At
2
Use this in child controller
Use Direction as you want..
Happy Coding...