views:

34

answers:

0

Hi,

I have a navigation that loads a ViewController (containing a mobile website) like

[self.navigationController pushViewController:webVC animated:YES];

And in webVC, I have a back button that is like

[self.navigationController popViewControllerAnimated:YES];

If I click around the mobile website that is contained in webVC, it breaks the back button. Looks like it is confused with the depth etc. How can I go around that?

Thanks,
Tee