如果建立的是NavigationBar就是。
NavigationBar.topItem.title = @"your title";
如果是NavigationController。。那就是
self.navigationItem.title = @"your title";
修改navigation Bar 中部的title內容
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
iPhone Tutorial: Adding a search bar in TableView
ericsuper
2018-08-22 12:10:24
iPhone NavigationBar和UIToolbar基礎
ericsuper
2018-08-22 12:10:24
UIWebView 顯示本地html及引用資源
ericsuper
2018-08-22 12:10:24
Xcode 4.1/4.2/4.2.1 免證書(iDP)開發+真機調試+生成IPA全攻略
ericsuper
2018-08-22 12:10:22
從零開始開發iPhone,教你如何在真機調試iPhone應用程序
ericsuper
2018-08-22 12:10:22
UIWebView如何打開本地的網頁
ericsuper
2018-08-22 12:10:22
在scrollview中雙擊定點放大的代碼
ericsuper
2018-08-22 12:10:22
__week and autorelease pool in ARC in Xcode 4.2
ericsuper
2018-08-22 12:10:22
ScrollView Image ZOOM
ericsuper
2018-08-22 12:10:21
Transitioning to ARC Release Notes
ericsuper
2018-08-22 12:10:20
Xcode中下載和使用離線文檔
ericsuper
2018-08-22 12:10:20
細說UIScrollView上的Touch 事件
ericsuper
2018-08-22 12:10:20
修改NavigationController中backbutton
ericsuper
2018-08-22 12:10:20
Automatic Reference Counting
ericsuper
2018-08-22 12:10:18