0
A
回答
1
你可以做到這一點很簡單,在你的(void)viewDidLoad
方法使用此代碼:
self.navigationItem.hidesBackButton = YES;
編輯:如果您在視圖中進一步導航(即如果視圖可以向前導航到被允許返回到它的其他意見),這可能是一個好主意,implemen改爲使用-(void)viewDidAppear:(BOOL)animated
方法。
1
self.navigationItem.rightBarButtonItem = nil;
或
self.navigationItem.hidesBackButton = YES;
相關問題
- 1. 隱藏uinavigation Leftbar按鈕
- 2. UINavigation Controller完成按鈕問題
- 3. 在UINavigation欄中隱藏BackButton
- 4. UINavigation Controller和Autorotation
- 5. iPhone UINavigation Controller
- 6. 隱藏按鈕
- 7. 隱藏按鈕
- 8. UINavigation Controller和UITabbarController connumdrum
- 9. iPhone UINavigation Controller問題?
- 10. 在解除來自UINavigation Controller的modalviewcontroller的問題完成按鈕
- 11. 故事板UINavigation Controller後退按鈕文本
- 12. UINavigation後退按鈕
- 13. UINavigation按鈕變化
- 14. 隱藏HTML5按鈕
- 15. NSTableView隱藏按鈕
- 16. 隱藏/取消隱藏div按鈕?
- 17. VBA隱藏/取消隱藏按鈕
- 18. 使用.prop隱藏按鈕(隱藏:真)
- 19. 隱藏,顯示,隱藏/ SHOWALL按鈕
- 20. UINavigation Controller內存問題
- 21. 從頭幫助的UINavigation Controller
- 22. Swift - UINavigation Controller變爲零
- 23. UINavigation Controller子視圖問題
- 24. UINavigation Controller根視圖變化
- 25. uinavigation中的多個按鈕
- 26. 設置爲隱藏後隱藏的按鈕不隱藏 - IOS
- 27. Docusign顯示/隱藏按鈕
- 28. 按鈕隱藏在xamarin中
- 29. 隱藏輸入按鈕
- 30. 顯示/隱藏按鈕
我說的不是按鈕作爲「欄按鈕項目」,我指的是導航鍵,類似於此圖像中的一個在左邊: HTTP:// www.doctohelp.com/newimages/Products/ScreenShots/StudioiPhone/iphone_navigationlist_rounded_types_landscape.png – user1415780