2011-05-27 159 views

回答

4

將按鈕觸及的內部事件鏈接到UIViewController子類中的IBAction方法。在該方法中,實例化一個新的UIViewController與廈門國際銀行使用:

YourViewControllerClass *vc= [[YourViewControllerClass alloc] initWithNibName:@"YourXibName" bundle:nil]; 

然後,如果你有一個導航控制器,你想把它推到:

[self.navigationController pushViewController:vc animated:YES]; 
[vc release]; 
0
NewTableController *newTableController=[[NewTableController alloc] initWithNibName:@"NewTableController" bundle:nil]; 
    [self.navigationController pushViewController:newTableController animated:YES];