Details

    • Story Points:
      5
    • Sprint:
      2016 Sprint 18 SDK

      Description

      In https://developer.apple.com/reference/corespotlight/cssearchquery, iOS 10 offers new API's for the CoreSpotlight framework. In detail, these are new attributes for the CSSearchQuery to query an attribute set by it's attribute name.

      Proposed API:

      // The search-query
      var searchQuery = Ti.App.iOS.createSearchQuery({
          queryString: "Searchable*",
          attributes: ["title", "displayName", "keywords", "contentType"]
      });
       
      // The event to be called when a new batch of items is found
      searchQuery.addEventListener("founditems", function(e) {
          // Get found items with e.items
      });
       
      // The event to be called when the search-query completes
      searchQuery.addEventListener("completed", function(e) {
          // Loop through your found items and access the searchable-item attribute-set
      });
       
      // Start the search-query (or use searchQuery.cancel()) to abort it
      searchQuery.start();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hknoechel Hans Knöchel
                Reporter:
                ewieber Eric Wieber
                Reviewer:
                Chee Kiat Ng (Inactive)
              • 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