I imagine it's one of those things that could be an endless debate as to whether it should or shouldn't jump to the selection point vs. adjusting it with the button, and it's slightly odd that it exhibits the old behavior in the simulator but not when run on the device.

It would be good if there was a property that let me set the behavior myself and make the decision as a developer, vs. forcing it off and breaking functionality that was previously available ( ie. I wouldn't be so bothered if it was like this to begin with, but it wasn't ).

Thanks for the stack overflow link.

Cheers.

On 31/12/2008, at 7:04 PM, Robert Marini wrote:

There is no "standard" ratings widget (and I'd advise you submit a bugreport requesting one if you haven't done so already) nor is there a good work-around for fixing the slider since some would argue that it isn't actually broken (one common complaint in the past was that accidentally touching the slider outside the button would cause it to move). You could do something wherein a ratings "view" displays the same values as the slider though it is admittedly a hack. It is, of course, possible to create your own ratings widget by subclassing UIControl and tracking the touches. The Oracle also found this which may be of some use - http://stackoverflow.com/questions/292137/anyone-know-whether-there-is-a-5-star-rating-component-on-iphone

-rob.

On Dec 31, 2008, at 12:07 AM, Colin Doncaster wrote:

Hi there,

I was wondering if anyone has a work around for the change in behavior between iPhone OS 2.1 and 2.2 UISlider element?

Previously I was able to click anywhere on the slider and it would update, now you have to grab the knob to adjust the value. This has broken the functionality in my app as I was using it for providing a 'rating' widget.

It's odd as it works correctly on the Simulator, the difference in functionality is only visible when testing on the device it self.

Is there another option for a 'rating' widget, ie. the used can click 5 stars if they really like something?

Thanks.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/rob%40pinchmedia.com

This email sent to r...@pinchmedia.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/colin.doncaster%40gmail.com

This email sent to colin.doncas...@gmail.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to