Hi there.
So, I have a UISegmentedControl with:
[control addTarget:self action:@selector(myAction) forControlEvents:UIControlEventValueChanged];
Just wondering how I would find out what segment has been selected (so I can do the appropriate action). I know its something like:
@selector(myAction:)
but what gets sent? ie: when I define my method what do I have to define?
Thank you.