Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24335] iOS: Resolve iOS 8 deprecations

GitHub Issuen/a
TypeEpic
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-08-11T16:00:05.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.2.0
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeVijay Singh
Created2017-01-22T22:05:27.000+0000
Updated2017-08-23T22:25:32.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. A selection: - Replace UISearchDisplayController with UISearchController (API migration required) - Replace NSDayCalendarUnit with NSCalendarUnitDay etc. (search and replace, easy ones) - Replace willAnimateRotationToInterfaceOrientation: (used in many places, migration required) - Replace ABPeoplePickerNavigationController (in Ti.Contacts, replacement straight forward) - Remove old statements (e.g. ![TiUtils isIOS8OrGreater]) - Remove old UIAlertView and UIActionSheet API's The first bunch of changes can be seen in [this branch](https://github.com/appcelerator/titanium_mobile/compare/master...hansemannn:TIMOB-24335?expand=1), I'm not sure when I can continue the outstanding issues, but the plan is either for 6.1.0 or 6.2.0.

Comments

  1. Eric Merriman 2017-02-06

    [~hansknoechel] I'll move to 6.1.0, we have the time.
  2. Eric Wieber 2017-08-23

    Closing as all issues are resolved/closed

JSON Source