Closed 0xhex closed 8 years ago
deselect is not active if you want deselect you should replace code with this
OLD CODE -(void) onTouchUpInside { [self setSelected:YES distinct:YES sendControlEvent:YES]; }
NEW CODE -(void) onTouchUpInside { [self setSelected:!self.selected distinct:YES sendControlEvent:YES]; }
Thanks, but I think it's a standard behaviour for radio button.
deselect is not active if you want deselect you should replace code with this
OLD CODE -(void) onTouchUpInside { [self setSelected:YES distinct:YES sendControlEvent:YES]; }
NEW CODE -(void) onTouchUpInside { [self setSelected:!self.selected distinct:YES sendControlEvent:YES]; }