You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kerri Shotts (JIRA)" <ji...@apache.org> on 2017/04/12 20:57:41 UTC

[jira] [Updated] (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 ]

Kerri Shotts updated CB-12652:
------------------------------
    Fix Version/s: cordova-ios@5.0.0

> 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: iOS
>    Affects Versions: 4.4.0
>            Reporter: Kerri Shotts
>            Assignee: Kerri Shotts
>              Labels: 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
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org