This library is to show rating as stars.
Drop BSRating.h & BSRating.m in your project and import it
#import "BSRating.h"
BSRating *rating=[[BSRating alloc] initWithFrame:CGRectMake(20, 50, 110, 20) withStarCount:5 filledCount:3 ratingType:BSRatingTypeOutlined withColor:[UIColor blueColor]];
[self.view addSubview:rating];
BSRating *rating2=[[BSRating alloc] initWithFrame:CGRectMake(20, 120, 100, 20) withStarCount:10 filledCount:7 ratingType:BSRatingTypeGrayed withColor:[UIColor redColor]];
[self.view addSubview:rating2];
You can change the color of your choice by using this line before adding it as subview.
[rating setRatingColor:[UIColor magentaColor]];