tags:

views:

27

answers:

1

Hi All 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

+1  A: 

In your view controller:

[[self navigationItem] setHidesBackButton:YES animated:YES];

This is documented here.

Alex Reynolds