简体   繁体   中英

SKStoreReviewController.requestReview freezes simulator

Every time I call SKStoreReviewController.requestReview() the entire simulator freezes and becomes unresponsive. I always call it from the main thread but has the same problem each time. I am on iOS 12.1.4 using the iPhone XS simulator.

After much frustration it turns out it was only that instance of the simulator that had bugged out for some reason.

Trying it on a device and any other simulator worked with no issues. A swift (excuse the pun) hardware restart of the simulator fixed the issue for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM