![](/img/trans.png)
[英]How to create an UIViewController with UINavigationController with Interface Builder?
[英]Changing the Title View of a UINavigationController UIViewController in Interface Builder
是否可以從Interface Builder中更改UINavigationController
包含的UIViewController
的標題視圖(即添加UISegmentedControl
)? 我目前正在使用以下代碼在此工作:
-(void)viewDidLoad
{
[super viewDidLoad];
self.navigationItem.titleView = self.filterSegmentedControl;
}
但是,我更願意在IB中設置所有人。 謝謝!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.