title: Xcode: frame.size.height change makes view's height change in the downward direction?
body: <p>I'm trying to have a bar that fluctuates with the mic level, but am having trouble getting it to fluctuate in the upwards direction. Here's the code</p>
  
  <pre><code>- (void)setVUMeterHeight:(float)height {
       if (height &lt; 0)
          height = 0;
  
       CGRect frame = vuMeter.frame;
       frame.size.height = height+10;
       vuMeter.frame = frame;
  }
  
  - (void)updateVUMeter {
  float height = (90+voiceSearch.audioLevel)*5/2;
  
       [self setVUMeterHeight:height];    
       [self performSelector:@selector(updateVUMeter) withObject:nil afterDelay:0.05];
  }
  </code></pre>
  
  <p>The problem is the height starts at 10px, and when the mic becomes active, the height is extended, but in the downward direction.  I tried to fix this by giving the view negative height values, but views can't have negative heights.  Does anyone have an idea for how to get the height to change in the upward direction?  Thanks.</p>