You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2019/11/29 12:28:00 UTC

[jira] [Closed] (CB-12652) stringByAddingPercentEscapesUsingEncoding is deprecated in iOS 9

     [ 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: cordova-ios@5.0.0
>
>
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org