[問題]UIViewController UINavigationController

看板MacDev作者 (Like a G6)時間13年前 (2012/09/23 01:26), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
各位開發者晚安 這個問題讓我卡關一個晚上,請教各位 我目前的流程是 一開始是ViewController 進入到一個含有PlayerListVC 的 PlayerListNVC (UIViewController) (UINavigationController) 目前已知有兩個ViewController 1.ViewController 2.PlayerListVC 和一個UINavigationController 1.PlayerListNVC 一開始從ViewController點了一個按鈕後直接進入 含有PlayerListVC 的 PlayerListNVC 程式碼如下: - (IBAction)playerListButtonPressed:(id)sender { UIViewController *listVC = [[PlayerListVC alloc] initWithNibName:@"PlayerListVC" bundle:nil]; UINavigationController *playerListNVC = [[PlayerListNVC alloc] initWithRootViewController:listVC]; [playerListNVC setModalTransitionStyle: UIModalTransitionStyleCrossDissolve]; [self presentModalViewController:playerListNVC animated:YES]; } 但是不管我怎麼編輯PlayerListNVC的xib,都不會有改變 而且我把xib全部元件拿掉,只留白, Run出來還是會有一條藍色的default NavigationBar 慶幸的是只有RootViewController的PlayerListVC 成功顯示我在PlayerListVC.xib所編輯的元件 是不是我漏掉了什麼東西.... 再麻煩版上的高手幫我解答一下.... 萬分感謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.193.133.117
文章代碼(AID): #1GNVIiC0 (MacDev)
文章代碼(AID): #1GNVIiC0 (MacDev)