Reputation: 2007
In my project i have a list when select on a item it will take to next controller using PushViewController. When i go there i will get data using libxml parser. But when i am clicking on the back button while loading it is showing exception. So i want to disable back button action till loading of data is completed how can i handle it.
Thank You
Upvotes: 0
Views: 206
Reputation: 96976
In your view controller:
[[self navigationItem] setHidesBackButton:YES animated:YES];
This is documented here.
Upvotes: 1