I am new to this Ios application. I have a 9 view and some time user can skip some view. eg. user can jump to 3 rd view to 5th view. I want to go back to the previous view ( including the skipped view ) I will explain in detail
i have jumped to 3rd view to 5th view. From 5th view there is a back button , when click on that button i need to jump back to 4th view.
currently i have used
HealtghCareResponsibilityViewController *objPri = [viewsArray objectAtIndex:4];
[objPri passArrayFromEndDisclosure:self.arrayToPass];
[self.navigationController popToViewController:objPri animated:YES];
But i know that 4th view was skipped, so 4th index is not in objectAtIndex.
But i need to go back to 4th index, Is there is any way ?