Hello I have a matrix of buttons, 4x3 And i have the following problems, or let's say i don't know where to begin
they are inited with a label from an array and they call the same function
-(IBAction)buttonPressed:(id)sender
Buttons are made programatically, not sure the function needs IBAction. How do i detect in this function what button was pressed? i thought at something like sender.label but is not working. Here's how i call it:[playButton addTarget:self action:@selector(buttonPressed:) forControlEvents:UIControlEventTouchUpInside];
How do i detect the touch? i want to display an uiView somewhere when i touch a button, not when i release it.
What to use to create a mask with rounded corners over this buttons? The buttons stay on a rounded rectangle but the buttons itself are squared, so they look ugly in the corners of the matrix.