If you would like to do that you should think what congregates all the UIView instances or in your case: buttons.
I would suggest you to add all the buttons to an array or any other kind of data format that helps you manage your objects.
Should you like to do that without using an external object for that purpose, I would suggest you to add all the buttons to a superview and then, you will be able to iterate over the subviews of the superview using: mySuperview.subviews property.
You could also give a unique ID number to each button (tag) right after when you initialize it, and then you can access tha button usIng the given tag:
myButton.tag = 1;
//Access the button using:
UIButton *b = (UIButton *) [superview viewWithTag:1];