RatingStrings
public struct RatingStrings
Localized strings for the rating step of the prompt.
-
Creates
RatingStrings
with optional custom values.Note
starLabels
must contain exactly 5 elements.Declaration
Swift
public init( title: String = "Rate this app", subtitle: String = "Your feedback is precious to us.", ratingLabel: String = "Tap a star to rate", starLabels: [String] = ["I hate it", "I don't like it", "It's okay", "I like it", "I love it"], submitButtonTitle: String = "Submit", cancelButtonTitle: String = "Maybe later" )