obsessivecode
There are a few options for displaying a progress bar in the iPhone SDK. If you just need general progress, you can use a UIProgress object. but this limits ui options, so many choose to use a UI slider. With a slider, you can set the left and right track images as well as a thumb image (or nil if you don't want a thumb image).


Back in iPhone OS 2.x, this worked perfectly, but with 3.0, the space where your 2 custom images meet shows a rounded end and a space where the thumb should go. I ran into this issue with the latest update to Food IQ. All in all, it doesn't look too terrible, but it's still not that polished look that apple's UIProgress has.


I spent an hour the other day making a custom progress indicator. It's not as pretty as apple's, but it gives you many more options. You can specify any size you like, both height and width by changing the objects's frame. You can also set custom colors for the surrounding line, the progress bar, and the backround of the bar. I've posted the code for this in the
downloads section. Feel free to use it as you wish. Email me with any comments or questions.
blocks_image
blocks_image
Apple's UIProgress
UISlider with custom images (from previous Food IQ 3)
Custom Progress View
blocks_image