Question one:
Network request Error: The resource could not being loaded because the APP Transport
Solve:
After Google verified, IOS9 introduced new features App Transport Security (ATS)
. Details: App Transport Security (ATS)
The new feature requires that the network access within the app must use HTTPS
protocols.
But now the company's projects are using HTTP
protocols that use private encryption to keep data secure. It is not immediately possible to change the HTTPS
protocol transfer.
Finally, the following solutions are found:
- Add a type in
NSAppTransportSecurity
info.plist Dictionary
.
NSAppTransportSecurity
under Add NSAllowsArbitraryLoads
type, the Boolean
value is set toYES
Question two:
Setvalue:forundefinedkey:] This class was not key value coding-compliant for the key
Solve:
Set the correct storyboard view of the class, and set the module
Xcode Development Issue Collection