
25.04.2016, 15:28
|
|
Регистрация: Nov 2009
Адрес: СПб
Сообщений: 2,236
|
Цитата:
|
Специально зашел в оба варианта и глянул. Не увидел никакой разницы
|
А она есть. 
Русскоязычный вариант:
Примечание. Компания Apple ввела в ОС iOS9 протокол защиты App Transport Security, который не позволяет устанавливать незащищенные подключения между приложением и веб-службами. По этой причине все подключения с незащищенных веб-сайтов, установленные с помощью Loader и URLLoader не смогут работать из-за протокола App Transport Security. Укажите исключения в поведении по умолчанию, добавляя ключи в файл Info.plist приложения. Чтобы отключить функцию полностью, можно добавить в файл Info.plist следующие строки, чтобы все работало как раньше.
Англоязычный вариант:
Note: App Transport Security is being introduced from Apple in iOS9, which doesn’t allow unsecure connections between App and Web services. Due to this change all the connections which are made to Unsecure web sites via Loader, URLLoader will discontinue and not work due to App Transport Security. Please specify exceptions to the default behaviour by adding keys to Info.plist in our app.
To turn off the feature completely you can add following in your Info.plist and it will work as before.
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key><true/> </dict>
Please specify exceptions to the default behavior by adding keys to InfoAdditions tag of application descriptor of your app. <iPhone> <InfoAdditions> <![CDATA[ <key>NSAppTransportSecurity</key> <dict> <key>NSExceptionDomains</key> <dict> <key>www.example.com</key> <dict> <!--Include to allow subdomains--> <key>NSIncludesSubdomains</key> <true/> <!--Include to allow HTTP requests--> <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key> <true/> <!--Include to specify minimum TLS version--> <key>NSTemporaryExceptionMinimumTLSVersion</key> <string>TLSv1.1</string> </dict> </dict> </dict> ]]> </InfoAdditions> </iPhone>
|