Help ah! Hero!
How can the two buttons can not be selected when pressing both buttons simultaneously, you can only display one is pressed. That is, the two button mutually exclusive!
Reply:
This is not easy to achieve?
Reply:
Think landlord, it is easy to implement. . . . .
Reply:
Brother greenhorn, Oh, please advise! ! !
Reply:
Let your view does not accept multi-touch on it ....
LZ was originally asked iphone ...
I thought it was to see a message asking. NET's ..
Reply:
Do you mean to make the xib cancel button of multiple touch option, right?
I tried, but no!
Reply:
Two button should be canceled view where the
Not a button ....
Reply:
I have tried this, or not! The feeling that option is not selected on the election and have nothing to change ah!
Reply:
Give an example? Thank you!
Reply:
When selected button a, b buttons to set the state unchecked
When selected button b, a state of Settings button unchecked
Or
lz directly segment controls well, among several states are mutually exclusive and can only choose one.
Advantage of the former is the button position can be adjusted, but the code may be a little cumbersome, especially if you want to multiple buttons mutually exclusive when
The latter has the advantage that the code is simple, but the position of the button can not be arbitrarily set
Reply:
Very good idea, but these two buttons is the "Login" and "registration" is a login screen button with segment control inappropriate.
But still thank you very much!
Reply:
You say:
When selected button a, b buttons to set the state unchecked
When selected button b, a state of Settings button unchecked
Specifically how to achieve ah? Can give the code? Best to give a demo!
Thank you!
Reply:
Do not understand, I have encountered similar problems, there are a few buttons on an interface, you can use several fingers, holding down these buttons, these buttons and corresponding events have been executed. . . . .
How to solve it?
No comments:
Post a Comment