ナビゲーション バーの左側に情報ボタンを作成しました。情報ボタンをクリックした後、ユーザーが「AboutViewController」という名前の別のビューに移動できるようにするにはどうすればよいですか? 助けてください!!(以下は私のコードです)
UIButton* infoButton = [UIButton buttonWithType:UIButtonTypeInfoLight];
[infoButton addTarget:self action:@selector(viewWillAppear:) forControlEvents:UIControlEventTouchUpInside];
UIBarButtonItem *modalButton = [[UIBarButtonItem alloc] initWithCustomView:infoButton];
[self.navigationItem setLeftBarButtonItem:modalButton animated:YES];
[modalButton release];