回答

0

使用它取決於UINavigationBar的

@property(nonatomic,assign) BOOL hidesBackButton; // If YES, this navigation item will hide the back button when it's on top of the stack. 
+0

謝謝,它幫助了我! – 2012-04-04 13:16:16

+0

@vkasci歡迎:) – Vignesh 2012-04-04 13:16:41

0

的財產你想用的控制器,做你展示後什麼。如果它會以其他方式被解僱,你可以使它變爲模態而不是推它。如果它將成爲導航堆棧中的新第一項,則可以替換現有的控制器。

+0

感謝您的評論!我怎樣才能在不損壞視圖樹的情況下進行更換?我試圖使用[code] self.navigationController setViewControllers:arrayWithOneTargetController [/ code],但它沒有幫助,我收到一個異常,樹被破壞。 – 2012-04-04 13:20:30

相關問題