-
Notifications
You must be signed in to change notification settings - Fork 3
iOS9
Adopting universal links in your app is strongly recommended over the use of custom URL schemes. Benefits of adopting universal links include:
- Security: universal links can’t be claimed by another app developer, unlike custom URL schemes.
- Fallback to Safari for users who don’t have your app installed.
- A single link works for all users of your content, regardless of whether they view it in your app or on your website
- The NSUserActivity class includes new methods and properties that help you index activities and app states to make them available in search results.
- Core Spotlight is designed for apps that handle persistent user data, such as documents, photos, and other types of content created by or on behalf of users.
App Transport Security (ATS) lets an app add a declaration to its Info.plist file that specifies the domains with which it needs secure communication. ATS prevents accidental disclosure, provides secure default behavior, and is easy to adopt. You should adopt ATS as soon as possible, regardless of whether you’re creating a new app or updating an existing one.
iOS 9 introduces the Contacts and Contacts UI frameworks, which provide modern object-oriented replacements for the Address Book and Address Book UI frameworks.
The AV Foundation framework includes the new AVSpeechSynthesis class, which lets you use voices such as Alex.
Card issuers and payment networks can add cards to Apple Pay directly in their apps. See PKAddPaymentPassViewController
.
SFSafariViewController
can be used to display web content within your app. It shares cookies and other website data with Safari, and has many of Safari's great features, such as Safari AutoFill and Safari Reader. Unlike Safari itself, the SFSafariViewController
UI is tailored for displaying a single page, featuring a Done button that takes users back to where they were in your app.
- The
UIStackView
class, which helps you manage a set of subviews as a stack that can be arranged vertically or horizontally. - New layout anchors and layout guides
- A new
UIApplicationDelegate method
you can use to open a document (and modify it) in place, instead of working with a copy of the document. - The
UITextInputAssistantItem class
, which helps you lay out bar button groups in the shortcuts bar. - The new
behavior
property inUIUserNotificationAction
, which lets you support text input from users in notifications. - The new
NSDataAsset
class, which makes it easy to fetch content tailored to the memory and graphics capabilities of your device. (?) - All standard UIKit controls flip appropriately to support right-to-left languages. In addition, navigation, gestures, collection views, and table cell layouts also flip appropriately.