title: Objective-C: Progress view programmatically
body: <p>How can I create <code>progressView</code> programmatically with height 50 and rounded corners in my Xcode project?</p>
  
  <p>if I use this code </p>
  
  <pre><code>CGAffineTransform transform = CGAffineTransformMakeScale(1.0f, 3.0f);  
  progressView.transform = transform;
  </code></pre>
  
  <p>rounded corners disappear</p>