I am new in iOS development, and I want to publish my first app to the app store. but actually the endpoint I get from the backend guy is only http, not https.
My friend said that it must be https or Apple will reject my app to be published in the app store ? is it true ?
If I set the NSAllowsArbitraryLoads key to YES under NSAppTransportSecurity dictionary in your .plist file. like the image below, can I still publish my app to app store using http connection ? (without https)
If you are using HTTP there is no reason for worries. Just place NSAllowsArbitraryLoads
into your info.plist
file.
There is so much misleading information available. But as per my experience its more preferred & compulsory to place the NSAllowsArbitraryLoads
whether you are using HTTP
or HTTPs
.
Important Note :
NSAllowsArbitraryLoads
into info.plist. I have never faced any sort of rejection due to it. So that I am suggesting you to do the same.Hope this helps to everyone.