I want to have a bunch of buttons.
Why? That seems counter intuitive. Just use one button and programmatically have it change tabs for you.
Have you attempted any research on your own? Did you google "button perform action objective c"? There are literally thousands of tutorials on how to do what you're asking. A lot that break it down step by step.