In my开发者_Python百科 project when we select item a item i am showing the details in next controllers but i have i am getting the details using Libxml, I have to disable the back button while loading the page how is it possible, please help me
Thank You
self.navigationItem.hidesBackButton = YES;
When you're done loading,
[self.navigationItem setHidesBackButton:NO animated:YES];
you could use something like this
[self.navigationController setNavigationBarHidden:YES animated:YES];
when you start loading the data, and set it to no when your data is loaded.
Or you could add that code to the viewcontrollers viewWillAppear section and then again show the nav bar once the view is loaded.
精彩评论