What is the best way to implement a widget like this in iPhone SDK?
<p><img src="http://img696.imageshack.us/img696/4453/screenshot20100505at125.png" alt="alt text"></p>

<p>At first we thought of have a back bar and a front bar and simply grow the front bar as the bar progresses. But then we realized that the front bar cannot "stretch" because it has a flat end, and the flat end will be taller than the back bar when it reaches near the end.</p>

<p>How would you implement this bar in the iPhone SDK?</p>
