2

I had implemented [SKStoreReviewController requestreview] in a sample application and I can see the alert with stars and cancel and submit button. If I implement the same in my current application it is not showing up anything. Why is it not working in my application?

Daniel
  • 2,355
  • 9
  • 23
  • 30
sampath
  • 41
  • 8
  • 3
    Possible duplicate of [SKStoreReviewController requestReview doesn't prompt for review](https://stackoverflow.com/questions/43068925/skstorereviewcontroller-requestreview-doesnt-prompt-for-review) – trungduc Jun 22 '18 at 14:06
  • This covers requests in detail & should help you out: https://stackoverflow.com/questions/45057452/why-the-skstorereviewcontroller-does-not-let-me-submit-a-review/45061556#45061556 – CodeBender Jun 22 '18 at 15:37
  • i know that submit button will be disabled.but the problem is rating view itself not showing when application is launched in simulator. – sampath Jun 22 '18 at 19:01
  • @sampath Make sure simulator's iOS version >= 10.3. SKStoreReviewController is supported from iOS 10.3 – trungduc Jun 23 '18 at 04:35
  • @trungduc i checked and simulator version is 11.4. Even I installed the application in physical device ,but still I cannot see rating view. – sampath Jun 25 '18 at 10:40
  • @sampath Try to call `[SKStoreReviewController requestreview]` in a new project and it works as expected. Maybe problem is in another place. – trungduc Jun 25 '18 at 10:42
  • @trungduc As posted above it is working as expected if I make new project.I checked the logs in my application and I am recieving this error . **Warning: Attempt to present on whose view is not in the window hierarchy!** – sampath Jun 26 '18 at 07:41

0 Answers0