How do i set and get UIButtons' tag?
- by Sam Jarman
How do i set a tag for a button programmatically?
I later want to compare to tags for a conclusion
ive tried this
-(IBAction)buttonPressed:(id)sender{
NSLog(@"%d", [sender tag]);
}
but that just crashes the app.... :(
any other ideas?
Cheers Guys
Sam