0
請查看代碼我不能夠顯示所有使用presentModalViewController另一個控制器:
-(IBAction)startGame{
NSLog(@"Button is pressed");
CharadesAppDelegate *del=(CharadesAppDelegate*)[[UIApplication sharedApplication]delegate];
[del setAllTeams:teamDict];
[del setScore:selectedScroll];
Playing *p=[[Playing alloc]init];
[self presentModalViewController:p animated:YES];
}
,我要提供播放控制器,它僅包含以下行
- (void)viewDidLoad {
[super viewDidLoad];
self.view.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"bg.png"]];
} 但遺憾的是我不能切換到另一個控制器沒有任何反應,當我按下按鈕時,請幫助