Just type below one line code from where you want user to rate/review your application.
SKStoreReviewController.requestReview()