I’m building an iPhone app using the Titanium framework. I need a 5-star rating control in my app, just like the one found in the app store. As a temporary solution I’m using the slider for adding a rating. Most of the examples I found on the web are in objective C. can somebody guide me on achieving this using titanium.
Regards
You just need to create a
viewand populate it with the number of buttons you want then assign a click event to them.Using that logic approach above you should be able to change
maxto set the number of stars you want and simply setup therate(v)to do one of the two options in the comments above. Keep in mind that you need to add thestars[i]to the view with aleftor some type of positing that increments based on the number of stars available. Hope this helps.