0

How to remove a NSButton from a Customview programmatically ? I used the below method but it didn't work .

[button removeFromSuperview];

4

1 に答える 1

1
[YourButton removeFromSuperview];

また

試す

[YourButton setHidden:YES];

これはあなたの問題を解決するかもしれません:)

于 2013-01-22T10:02:16.193 に答える