StarReview
StarReview copied to clipboard
allowEdit = false seems to have no effect?
I have a place in my ui where I want to show the star rating but not allow users to change it so I set this setting to false but I still seem to be able to interact with the rating?
Worked out what the problem was, touchesMoved did not check for !allowEdit - you need to add these lines at the top
override public func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
if !allowEdit
{
return
}