InterfaceBuilder を使用せずに UIToolBar に UISwitch(トグル スイッチ) を追加するにはどうすればよいですか? システムアイテムではないので使えませんでした
UIBarButtonItem *systemItem1 = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemRefresh
target:self
action:@selector(pressButton1:)];
同じ方法でトグル スイッチを追加するにはどうすればよいですか?
ありがとうございました。