[
https://issues.apache.org/jira/browse/CB-12652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jcesarmobile closed CB-12652.
-----------------------------
Resolution: Fixed
was fixed
https://github.com/apache/cordova-ios/commit/7724d9c603fbb20fc26f84a9f5ac056027c4270e
> stringByAddingPercentEscapesUsingEncoding is deprecated in iOS 9
> ----------------------------------------------------------------
>
> Key: CB-12652
> URL: https://issues.apache.org/jira/browse/CB-12652
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-ios
> Affects Versions: 4.4.0
> Reporter: Kerri Shotts
> Assignee: Kerri Shotts
> Priority: Major
> Labels: backlog, deprecation, easyfix, ios, ios9
> Fix For: [email protected]
>
>
> Opening a freshly created project using Xcode and build reveals that
> stringByAddingPercentEscapesUsingEncoding generates deprecation warnings:
> ...CordovaLib/Classes/Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewNavigationDelegate.m:81:91:
> 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated
> in iOS 9.0 - Use -stringByAddingPercentEncodingWithAllowedCharacters:
> instead, which always uses the recommended UTF-8 encoding, and which encodes
> for a specific URL component or subcomponent since each URL component or
> subcomponent has different rules for what characters are valid.
> [Our
> usage|https://github.com/apache/cordova-ios/search?utf8=✓&q=stringByAddingPercentEscapesUsingEncoding&type=]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]