Apple gave us a big ease in iOS 10.3, SKStoreReviewController. It provides native review pop up in StoreKit.
Let’s think about it on a simple example. We will show the review pop up on the second launch. The popup will appears at 20th seconds to not bother the users. Also, can use UserDefaults to detect the app launch count.