Make your button type as NSMomentaryChangeButton
.
[myBtn setButtonType:NSMomentaryChangeButton];
If you use NSMomentaryPushInButton then you may get gray rectangle over the button when click.
Make your button type as NSMomentaryChangeButton
.
[myBtn setButtonType:NSMomentaryChangeButton];
If you use NSMomentaryPushInButton then you may get gray rectangle over the button when click.