以下のメソッドをアプリケーション didFinishLaunchingWithOptions で直接呼び出したいと思います。
現在、このアクションはボタンでトリガーされます。ボタンなしでこれを呼び出すにはどうすればよいですか?
- (IBAction)toggleVertical:(id)sender
{
[splitController toggleSplitOrientation:self];
[self configureView];
}
以下のメソッドをアプリケーション didFinishLaunchingWithOptions で直接呼び出したいと思います。
現在、このアクションはボタンでトリガーされます。ボタンなしでこれを呼び出すにはどうすればよいですか?
- (IBAction)toggleVertical:(id)sender
{
[splitController toggleSplitOrientation:self];
[self configureView];
}