[TIMOB-24718] iOS: Resolve iOS 8 deprecations for UIAlertView and UIActionSheet
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-06-20T14:59:04.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.2.0 |
Components | iOS |
Labels | n/a |
Reporter | Vijay Singh |
Assignee | Vijay Singh |
Created | 2017-05-23T07:55:50.000+0000 |
Updated | 2017-06-21T12:26:10.000+0000 |
Description
In SDK 6.0.0, we updated the default minimum iOS target to 8.0 as a result of the Xcode 8.x version that is now supported. Doing that, our iOS SDK core shows some deprecation-warnings regarding API's that should be replaced in iOS 8 and later.
Remove old UIAlertView and UIActionSheet API's.
This is subset of ticket TIMOB-24335.
PR: https://github.com/appcelerator/titanium_mobile/pull/9079 Test Case : OptionDialog / ActionSheet
Test Case : AlertDialog / AlertView
Verifed as fixed, ran test cases for OptionDialog / ActionSheet & AlertDialog / AlertView against iOS8/9/10 with Ti SDK 6.1.0.GA & Master. Tested On: iPhone 7 10.3.2 Device & Simulator iPhone 6S 9.3 / 8.1 Simulators Mac OS Sierra (10.12.5) Ti SDK: 6.2.0.v20170620104530 Appc NPM: 4.2.9 App CLI: 6.2.2 Xcode 8.3.3 Node v4.6.0 *Closing ticket.*