开发者

A specific UIControl based around UISlider for iPhone

I need to show a specific bit of data to the screen and it is most eas开发者_运维问答ily represented as an adaptation of something like a UISlider.

It will represent a range of related (numerical) answers between 0.0 and 10.0. The data I wish to show is the minimum, maximum and mean. However, I need to do this without revealing the numbers.

It is currently done (on a web browser) with a control that looks like this...

[---------|=========@=====|---]

Where the shaded area shows the min-max range and the @ represents the slider thumb and is set to the mean.

Before I started trying to wrap my head around programming this I was wondering if you might be able to provide any pointers as to where I can start with this?

Thanks for any help you can offer.

Thanks

Oliver


I wouldn't try to set this up based on the standard slider (couldn't think of a clean way to do this anyway) - and i wouldn't make it looking too similar, too. Apple is very keen on "defending" the way their UI concept is perceived by users. So i suppose they maybe wouldn't approve an app with a slider that has been "hijacked" to be only a meter, not a control - or something that looks like it, for that matter.

Maybe you'll find something in the wwww where you could base your work on, but if I were you, I'd start this element from scratch, maybe using artwork and ressources from the webbased version. This would be the most straightforward way and will give you exactly what you need..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜