guard let writeReviewURL = URL(string: "https://apps.apple.com/app/idXXXXXXXXXX?action=write-review") else { fatalError("Expected a valid URL") } UIApplication.shared.open(writeReviewURL, options: [:], completionHandler: nil)
guard let writeReviewURL = URL(string: "https://apps.apple.com/app/idXXXXXXXXXX?action=write-review") else { fatalError("Expected a valid URL") } UIApplication.shared.open(writeReviewURL, options: [:], completionHandler: nil)