New Features of iOS 9: a collection of developer articles (constantly updating ......)

Source: Internet
Author: User

New Features of iOS 9: a collection of developer articles (constantly updating ......)
After iOS was updated to 9.0, after Xcode7.0, Apple opened a number of new APIs. Here we have sorted out some new features after iOS9 for you to learn and exchange. of course, the article is not comprehensive enough. You are welcome to contribute in the comments area. I will continue to improve it here. 1. iOS 9 Learning Series: Contacts Framework

In iOS 9, Apple introduced the new Contacts framework. Allows you to use Objective-C APIs to interact with the device address book, which is also applicable to Swift. This is a huge improvement compared to reading contact information through AddressBook framework. Because AddressBook framework does not have the Objective-c api, it is very difficult to use, and it is even more painful to write with Swift. We hope the new Contacts framework can solve these pain points.

2. iOS 9 Learning Series: Search APIs

Before iOS9, you can only enter keywords in spotlight, such as the application name and search for the application. In iOS9, Apple provides a set of Search APIs. Developers are allowed to select the content of the application and index it for spotlight to search. You can also set the Display Effect in spotlight and how to respond after clicking it.

Three new search-related APIs

NSUserActivity

NSUserAcitivity is introduced when introducing the Handoff of ios8. the activities can be searched in iOS9. You can provide metadata to these activities, which means Spotlight Can index the content. Similar to the web page display in a browser (the history page you opened is recorded), you can quickly search in Spotlight to open the most recent activities.

Web Markup

Web Markup allows applications to mirror their own content and create indexes in Spotlight. You do not need to install an application on your own device to display search results. Apple crawlers crawl the markup content on your website. The content will be provided to Safari and Spotlight later.

In fact, this important feature does not even require users to install your applications on their own devices. In this way, your application can be displayed to more potential users. Apple's cloud service indexes the content of your application to maintain a deep connection between your application and public Search APIs.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.