开发者

How to make UIBarButtonItem CustomView mutually exclusive?

开发者 https://www.devze.com 2023-02-16 16:23 出处:网络
I added a few button to UIToolbar,开发者_StackOverflow but those buttons can be preesed simultaneousl.

I added a few button to UIToolbar,开发者_StackOverflow but those buttons can be preesed simultaneousl.

How to make them mutually exclusive just like non-custom view?


If you want you can set the hidden property to YES for the button you don't want to be pressed until you want it's ready to handle user input (when you just set the same property to NO).

0

精彩评论

暂无评论...
验证码 换一张
取 消