Rating

PHOTO EMBED

Fri Apr 22 2022 05:32:05 GMT+0000 (Coordinated Universal Time)

Saved by @hasnat #ios #swift #rating #review #star #rate

sellerRecomendRating = star.tag
        
        var count = 0
        [star1, star2, star3, star4, star5].forEach { star in
            count += 1
            if count <= sellerRecomendRating {
                star?.image = UIImage(named: "star_sel")
            } else {
                star?.image = UIImage(named: "star_unsel")
            }
        }
content_copyCOPY