Hi friends,
I am working application in which i calling presentModalViewController and once finished(calling dismissModalViewControllerAnimated:YES) it should immediately call popToRootViewControllerAnimated.
But the issue is dismissModalViewControllerAnimated:YES is working properly but popToRootViewControllerAnimated is not working after it.
The code is shown below:
[self.navigationController dismissModalViewControllerAnimated:YES] ;
[self.navigationController popToRootViewControllerAnimated:YES];
Any suggestion is highly appreciated.
Regards,
sathish