标签:
ZBarReaderView *readerView;
- (void)changeLight:(id)sender{
UIButton *btn = (UIButton *)sender;
if (btn.selected) {
btn.selected = NO;
readerView.torchMode = 0;
}else{
btn.selected = YES;
readerView.torchMode = 1;
}
}
标签:
原文地址:http://www.cnblogs.com/xiaoxiaoyublogs/p/5153605.html