I know this question have been answered before, but i have difficulty to pop on specific page in ios. As i have already tried many times. as i have build 4 pages and and want to move last page to second page.
with the help of this code i have gone through first page
and with the help of this page i have gone to 3rd page.
but for second page i have written this code
but it's not working
ViewPage2 *ptwo=[[ViewPage2 alloc] initWithNibName:@"ViewPage2" bundle:nil];
[self.navigationController popToViewController:ptwo animated:YES];