It is a bit tricky to create a read only star rating control, you need images 5 of them, half stars and then write logic to manipulate them. Below is an approach using font and attributed text. Use the category here (Swift extension also available) with which you can just pass the rating as float and you will get an attributed text with the rating stars, just assign it to any label, thats it.


self.ratingLabel.attributedText = [NSMutableAttributedString starWithRating:rating outOfTotal:5 withFontSize:9.0f];