tags:

views:

15

answers:

0

I have my 5 th view .when i pressed home button of that, and again launch the app then it shows 5th view as per my state maintainance code then i got to 6 th view .it has 1 UIButton when i click on that button the method has this call [self.navigationController PopviewControllerAnimated:YES];this function goes me back to it's back view it has 1 flag and that flag shows that wether the user press UIButton or not but as user press that UIButton i again wrote code [self.navigationController PopviewControllerAnimated:YES]; as such it goes back to 1st view .this whole process works properly but when it get back to it's 1st view ,1st view became hang.Why is it so?