1.viewDidLoad添加button
[self.btnSwitch addTarget:self action:@selector(selectIconButton:) forControlEvents:UIControlEventTouchUpInside];
1.viewDidLoad添加button
[self.btnSwitch addTarget:self action:@selector(selectIconButton:) forControlEvents:UIControlEventTouchUpInside];