![](/img/trans.png)
[英]cleraInterval ()not working when on a component that contains useEffect to call the API (React Native)
[英]React Native iOS Api call not working
本地 iOS 構建工作正常,但是當我在 iOS App Store 中提交時,他們拒絕了 App,因為 HTTPs API 調用不起作用。
在您的 plist 中添加以下行:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.