title: How to change frame for each UIButton in view
body: <p>I'm trying to update every frame for an allocated UIButton when the device's orientation is updated. Right now I have a for loop that's supposed to check for every UIButton in the view and update the frame of the UIButton. The for loop is not working though, can anyone tell me why?</p>
  
  <p>Thanks in advance!</p>
  
  <pre><code>for(UIView* view in theTable.subviews) {
      if([view isMemberOfClass:[UIButton class]]) {
          NSLog(@"UIButton found");
          view.frame = CGRectMake(430, 10, 23, 24);
      }
  }
  </code></pre>