Hierarchy of views
===

One of my xib files has a scrollview and an image view.  I was adding buttons to my image view (because I wanted them to scale when I zoomed), but nothing happens when I click them.  I am fairly certain that this is because the image view is in the scroll view, so I can't click the buttons.  When I add the buttons to the scroll view instead, I can click them, but they don't scale when I zoom.


What I need:  Buttons that I can click that will also scale when I zoom in and out.

What I think I need to do:  Add another view to put the buttons on.

What I don't know:  What the hierarchy of my views should be, to satisfy my needs.

I should add that I did all of this in code (not in IB).