Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23888

iOS 10: UIApplication openURL has been deprecated

    Details

    • Story Points:
      3
    • Sprint:
      2018 Sprint 06 SDK, 2018 Sprint 07 SDK, 2018 Sprint 08 SDK, 2018 Sprint 09 SDK, 2018 Sprint 10 SDK

      Description

      iOS 10 deprecates the usual [[UIApplication sharedApplication] openURL:@"myurl"] with a new API.

      Replacement:

              if ([TiUtils isIOS10OrGreater]) {
                  [[UIApplication sharedApplication] openURL:newUrl options:@{} completionHandler:nil];
              } else {
                  [[UIApplication sharedApplication] openURL:newUrl];
              }
      

      We need to replace it in certain places, but since it just has been deprecated, nothing will break.

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              hknoechel Hans Knöchel
              Reviewer:
              Vijay Singh
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code