Re: UISlider changes between 2.1 and 2.2, rating widget?
Re: UISlider changes between 2.1 and 2.2, rating widget?
- Subject: Re: UISlider changes between 2.1 and 2.2, rating widget?
- From: Robert Marini <email@hidden>
- Date: Wed, 31 Dec 2008 01:04:01 -0500
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 (email@hidden)
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:
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden