2015-01-14 UIBarButtonItemにtargetとactionを設定する方法 iOS Objective-C setTarget:action:が利用できなかったので調べた .targetと.actionにそのまま突っ込めばいいだけみたい How to set target and action for UIBarButtonItem at runtime