I want to display and implement the rating in the way apple does in the ipod app. Can anybody tell me how it is done. The code that i want to implement is to be written in a viewController.
Thanks in advance.
Providing the code would be useful. I am drawing the image in the implementation (.m)file of my UIViewController subclass inside touchesBegan: method. The errors at runtime are as follows:
<Error>: CGContextSaveGState: invalid context
<Error>: CGContextSetBlendMode: invalid context
<Error>: CGContextSetAlpha: invalid context
<Error>: CGContextTranslateCTM: invalid context
<Error>: CGContextScaleCTM: invalid context
<Error>: CGContextDrawImage: invalid context
<Error>: CGContextRestoreGState: invalid context
<Error>: CGContextClipToRect: invalid context
5 buttons, with your own images for filled and unfilled stars. You'll need some custom logic to change the pictures on each click. I'd recommend setting a different tag on each button.