问题
There is not much code to this. Adding a NSButton with Style Check and Type Switch into IB.
In IB it looks fine. But starting the app there is a white box appearing around the disabled checkbox. The background is obviously grey hence it shows.
Is there a way to remove/override that?
来源:https://stackoverflow.com/questions/59672767/how-to-remove-the-white-box-around-the-nsbutton-checkbox-when-disabled