开发者

How to disable back button in iPhone Application

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜