iOS13內購隱藏大坑 - (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response


蘋果iOS13 內購隱藏大坑:

 - (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response

iOS12之前是在主線程回調,

在iOS13改成了在一個異步線程回調,如果在iOS13下蘋果內購這個回調直接執行一些UI操作,則必然會提示

Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM