iphone - How can I send two arguments in a selector method? -


In the following, how can I send two arguments in the togbutton method? I tried, but it is not working.

  [button addTarget: auto action: @silator (toggle button :) control events: UIControlEventTouchUpInside];  

Control goals only accept an argument for their actions: Controls that tamper There is no way to do whatever you want (the OS does not support it).


Comments

Popular posts from this blog

iphone - How do I make a UIPickerView in a UIActionSheet -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -