Original link: https://developer.apple.com/library/content/releasenotes/General/WhatsNewIniOS/Articles/iOS_11_0.html#// APPLE_REF/DOC/UID/TP40017637-SW1 IOS 11.0
This article summarizes the key features associated with developers in the iOS11 of mainstream iOS devices. This article also lists the documentation that describes the new features in detail:
For information on breakthrough messages and known issues, see iOS release Notes
For complete information on adding, changing, and discarding APIs, see Apple Developer documentation
To learn about the new features of Safariservices and WebKit, see what ' s New in Safari
To learn about the new changes to Swift, see What ' s New in Xcode and the Swift programming Language (Swift 4) general of Swift Language
IOS 11 New changes-support for two-dimensional code
0 new APIs that support scanning, parsing, and creating two-dimensional code in AV Foundation, Core Image, and Sirikit
0 New Barcode Descriptor Object--cibarcodedescriptor in core image to provide interoperability between AV Foundation and the Vision APIs
IOS 11 New Change--musickit
0MusicKit provides access to the Apple Music Catalog and user list for your app
0 functionality has been added or updated in Storekit to detect client tokens and storefront identifiers
0 functional additions or updates to media Player to allow the radio to play back in the background
0 Display of custom messages in the Apple Music Subscriber settings stream APP frameworks
IOS 11 New changes-support drag and drop. Dragging and dropping in iOS allows users to drag items from one location to another in a single application or in different applications.
0 added feature to identify view as drag source and drag destination
0 added customizable previews and custom animations
0 for details drag and Drop
new changes to IOS 11--Browse local and icloud files
0 Add a view controller for browsing locally stored and cloud files, as detailed in Uidocumentbrowserviewcontroller and Uidocumentbrowsertransitioncontroller
0 New Uidocumentbrowseraction, an object that can be customized in a file browser
0 New Fileprovider and Fileproviderui two frameworks to provide third-party storage services
0 for details Adding a Document Browser to Your App
improving dynamic type support
0 added Uifontmetrics, an object to create a custom font that is scaled based on the text size currently selected
0 Updated auto Layout, dynamically adjusting spacing based on font size when datum anchors are part of a constraint that uses system spacing
0 adds a property to hold the vector data for the PDF resource to achieve smooth scaling. You can use this property to display larger versions of bar items and segmented control items, and to resize the image to match the text size of the user. To enable scaling in the PDF, in the Asset Catalog Property inspector, select Preserve vector data to obtain the PDF to enable zooming
0 New Uiaccessibilitycontentsizecategoryimageadjusting, a protocol for scaling an image of accessible text size
improved auto Layout, support for dynamic types
0 updated Nslayoutxaxisanchor and Nslayoutyaxisanchor to provide a factory method for creating constraints using system spacing between two anchor points. Previously, the only way to create such a constraint was to use the dash (-) in the Visual Format language.
0 adds an option for Nslayoutformatoptions to create a visual Format language string that uses baseline-to-baseline spacing
0 updated Uistackview to achieve system spacing and custom spacing
updating text content can be automatically populated with app password
0 Add username and password two attributes in Uitextcontenttype
* * Added Primaryedge, which is an attribute of Uisplitviewcontroller, for setting the side of the main view controller
Added Sectioninsetreference, a new enumeration property for Uicollectionviewflowlayout that specifies the bounds to be used for relative partial inserts
Updated Keyboard Extensions * *
0 added SelectedText, a Uitextdocumentproxy property that returns the text currently selected in the document
0 added Documentidentifier, a Uitextdocumentproxy property that specifies whether the user navigates to a new text widget
0 added Hasfullaccess, a Uiinputviewcontroller property for checking keyboard permissions
0 added Needsinputmodeswitchkey, a Uiinputviewcontroller property, to control the display of the toggle key in the input mode
0 Add new system permissions in Settings so the application can access additional keyboard extensions
improved APIs for available storage space
0 adds a new key to the URL class for different usage scenarios
The Volumeavailablecapacityforimportantusagekey key returns the total amount of free bytes that the user explicitly requires to operate, or is critical to the normal operation of the application
The Volumeavailablecapacityforopportunisticusagekey key returns the total number of bytes that can be used to store non-essential items, such as content that is preloaded for content that the user may or may not be usingGraphics and Games
IOS 11 New changes-support augmented Reality (AR)
0 adds the Arkit framework, combines device motion tracking, camera scene capture, advanced scene handling and display facilitation, and simplifies the task of establishing the AR experience
IOS 11 New changes-high-performance image analysis
0 Adds the Vision framework for detecting facial, barcode, text, image levels, and rectangular areas
0 provides support for integrating the Vision framework with core ML integration to run custom models on images
0 adds a pair of Like tracking
0 adds support for image registration
IOS 11 New changes-can write a custom image hybrid kernel for core image
0 adds Ciblendkernel, a special type of Cicolor Kernel to mix two images (supported by cirenderdestination and Ciimageaccumulator)
0 will Init (functionname:frommetallibrarydata:) Added to Cikernel to use metal to write kernels to improve language features and reduce compile time
IOS 11 New changes-Lightweight rendering targets
0 added Cirenderdestination, An object that creates the renderer, which is returned to the caller after rendering work. You can specify all target properties for the renderer for different destinations, including surfaces (iosurface), Core video pixel buffers (cvpixelbuffer), GL textures, metal textures, and memory.
Extended replaykit Framework
0 Update Rpscreenrecorder for screen capture and rear camera support
added new core image filter C Itextimagegenerator,cicolorcurves,cilabdeltae,cibokehblur,ciminmaxred and Cibicubicscaletransform Metal 2 (somewhat difficult to understand)
Metal 2 contains important additions and updates to the Metal,metal shading Language and Metal performance framework. The following items indicate where the update occurred: the
–mtl:an update in the Metal framework. The
–msl:an update in the Metal shading Language. The
–mps:an update in the Metal performance shaders framework.
mps:new in Metal 2-cross platform Metal performance shaders support
0 all metal Performance shaders features are available in iOS 11.0,tvos 11.0 and MacOS 10.13
mps:new in IOS 11.0-neural network support
0 increased support for neural networks in the metal Performance shaders framework
0 adding charts to provide a higher level of APIs to simplify the creation of neural network, including objects that are allowed to transfer between nodes in a neural network
0 Add convolutional Neural Networks (CNN) to support the use of previously acquired training data to implement and run deep learning
0 A cyclic neural network for image and Matrix inference is added
IOS 11 New changes-parameter buffers, grouping resources into parameter buffers (AB) to reduce CPU overhead
0MSL: add [[ID (N)]] property qualifier to identify resources in AB structure
0MTL: The Mtlargumentencoder protocol is added to encode resources into AB
Mtl:ios 11 New changes-programmable sample location. Configure the location of the sample when rendering to a multiple-sampling render target
0 Update the Mtlrenderpassdescriptor class to set and get the sample location of the render process
Msl:ios 11 New changes--unified type
0 adds a uniform type to declare a variable that is evenly spaced for all threads that perform drawings or calculation functions called on the drawing or dispatch
Msl:ios 11 New changes--array of samplers
0 added array App Services
IOS 11 New changes-support machine learning model
0 adding the core ML framework to easily integrate machine learning models into applications
IOS 11 New Change--sirikit support visual coding
0 Visual Code fields (visual codes domain) are added to Sirkit to support visual code that displays Exchange payments and contact information
IOS 11 New Change--sirikit support notes and to-do list
0 Add a list and Notes field to Sirikit to support using Siri to add notes, interact with the to-do list, and interact with reminders
increased intent on the Sirikit domain
0 increased cycling cancellation and feedback to ride booking domain
0 increases the transfer amount and searches for accounts in Payments domain
IOS 11 New changes-Find the device title
0 is added to the Cmdevicemotion heading, which returns the caption angle relative to the cmattitudereferenceframe. The value returned is the title in degrees. Returns a negative value when the reference frame is xarbitraryzvertical or xarbitrarycorrectedzvertical
IOS 11 New changes-multipath TCP
0 by extending urlsessionconfiguration to support multipath TCP as defined in IETF RFC 6824 6824, support for the transmission of individual data streams using multiple interfaces, such as Wi-Fi and cellular, is increased. Please refer to Urlsessionconfiguration.multipathservicetype
IOS 11 New change--dns agent
0 adds a new DNS proxy application extension type to the network extension framework
Apple Pay's enhanced end-user trading process
0 adds Pkpaymenterror to Passkit, which is a structure for detailed reporting of errors in user shipping and payment information, as well as authorization errors. Developers can use this information to provide custom error strings
0 Update the handler method in Pkpaymentauthorizationcontrollerdelegate to receive the Pkpaymenterror
0 Update Pkpaymentrequest to use Pkcontactfield for contact information
0 Add supportedcountries to pkpaymentrequest country/region with support for specified transaction
0 even in the electronic wallet does not support the payment method, also increases the display Payment button the support. Apple pay now processes payment without leaving your application and then returns to checkout
new changes to IOS 11--Promoting the application of internal purchases in the App Store
0 developers can promote up to 20 application purchases on the App Store product page. Customers can start buying on the App store and then be brought to the app to complete the deal
0 added Paymentqueue (_:shouldaddstore:for:), a new Skpaymenttransactionobserver method for promotional applications in the purchase. Applications need to support this agent to facilitate purchase within the App Store to display
IOS 11 New changes-Live messaging
0 added Msmessagelivelayout, a new message layout, for displaying live messages, such as games, that can display dynamic content. Each live message has its own msmessagesappviewcontroller, and can have multiple active live messages on the screen at the same time
HomeKit enhanced triggers
0 to enhance the time based condition of the trigger. The Hmsignificanttimeevent event specifies the offset from sunrise and sunset. hmcalendarevent Specifies the date and time. Hmdurationevent Specify a time interval
0 added Hmcharacteristicthresholdrangeevent to support tracking of an attachment state within a range, such as performing an action when the temperature is between 68 and 72 degrees
0 added hmpresenceevent to add a condition based on the presence or absence of the user
0 updated Hmeventtrigger To enable multiple recurring events
* * Add Home:didupdatehomehubstate: Support to receive home center status updates
Updated Mapkit to show developer data more clearly * *
0 added Mutedstandard, a new map display mode that emphasizes developer data
0 added attributes to customize the behavior of annotations in the event of a conflict. Developers use the combination of Displaypriority,collisionmode and clusteringidentifier to influence which annotations are left on the map
Add the Authorizationstatus method to the Cmaltimiter,cmpedometer,cmmotionactivitymanager and Cmsensorrecorder classes of the core motion framework. This method is used to determine whether an application is authorized to receive data from the source Media and Web
IOS 11 New changes-support for efficient video coding (HEVC). High-efficiency Video coding (HEVC) is a new standard for video coding, providing a better compression effect than H.264 under the same visual quality level .
0 added support for using AV Foundation to play movies that contain HEVC coded tracks and to capture and export video
0 increased support for using Videotoolbox client encoding and decoding HEVC video bit streams
IOS 11 New changes-support for efficient image format (Heif). Efficient image Format (Heif) is a new image compression standard, which doubles the current data compression ratio for the same level of image quality.
0 added photo and core image frame features to display, encode and export Heif images
IOS 11 New changes-support for capturing and manipulating depth data, and enhanced photo capture
0 adds an object to the AV Foundation to capture and represent depth data. See Avcapturedepthdataoutput, Avdepthdata, and related APIs
0 added Avcapturephoto, an object that encapsulates the captured photo information and supports HEVC and HEIC encoded images
0 updated Avcapturephotooutput to provide more information about the camera features and supported output formats
IOS 11 New changes-automated storage management
0 increased the automatic storage management of Avassetdownloadtask HTTP real-time streaming resources. When space is needed, the system can automatically purge expired or unwanted downloads. Use priority to influence purge policy
IOS 11 New Change--airplay 2
Some audio playback interfaces in 0AV Foundation improve the reliability of airplay. To take advantage of increased reliability, use Avplayer to play audio or a new Avsamplebufferaudiorenderer object
0 adds multiple speaker support for airplay for long audio audio (such as music and podcasts). To mark an application to render long format audio, call the Avaudiosession method Setcategory (_:mode:routesharingpolicy:options:) and use Avaudiosessionroutesharingpolicylongform as the parameter value
0 Add Avroutepickerview to the Avkit framework and Avroutedetector to the Avfoundation framework, allowing users to select routes that play content when multiple routes are available. Use Avroutedetector to determine whether more than one route is available when routing detection is enabled. If more than one route is available, use Avroutepickerview to provide the user with an interface to select a route
add Fairplay stream Key Management
0 improved the function of the avcontentkeysession. You can use Avcontentkeysession to start a content key request independently of the playback or downloading of media resources. objects that conform to the Avcontentkeyrecipient protocol (such as Avurlasset) can be added to the avcontentkeysession as recipients to gain access to the existing content key and initiate a new content key request
added more Live photo adjustments
0 adds a series of real-time photo adjustments, called effects, that present real-time photos as loops, bounces, or long exposures. Unlike regular Live Photos, loop and bounce video will play in a continuous loop
0 adds a playbackstyle, a new attribute that identifies how the Phasset is displayed to the userSystem
IOS 11 New change-hotspot configuration
0 adds a network extension for hotspot configuration. See Nehotspotconfiguration
IOS 11 new changes-detecting NFC tags and reading messages containing ndef data
0 adds Core NFC, A new framework to read near-field communication (NFC) tags and data for NFC Data Interchange Format (NDEF)
updated the core Bluetooth framework
0 increased support for the L2CAP channel
0 extended session Recovery works when Bluetooth reset and device restarts
0 updates the APIs in the core Bluetooth framework to match Ios,tvos,watchos and MacOS, and marks platform availability for each API
APFS is now the default file system
0 added canonicalization-insensitive support for case-sensitive file systems