IOS 9 Development GOGOGO: New features

Source: Internet
Author: User

IOS 9 Development GOGOGO: New features

IOS9 has been released for a while. How much do you know about the new features of iOS9? Are you still stuck in the multi-task (split-screen, picture-in-picture), Swift2, and HTTPS force upgrades? Today, let's get to know more about the broader technological innovations iOS9 brings to us!
Directory:

IOS9 new features overview iPad application multitasking enhanced search game development App Thinning support from Right To Left Language RTL-Right To Left Language App transmission encryption App extended Contacts UI Watch Connectivity Swift enhancements modifications to some system frameworks AV Foundation Framework AVKit Framework CloudKit Framework Foundation Framework HealthKit Framework Local Authentication Framework Local authorization MapKit Framework PassKit Framework Safari Services Framework UIKit Framework discarded APIs

IOS9 new features Overview

First, we will understand the general update points of iOS9:

IPadEnhanced application multi-task processing

That is, the Split screen and in-Picture painting mentioned above, Apple added Slide Over, Split View and Picture in Picture three modes for iPad in iOS9 to enhance multi-task processing. The best thing is in-Picture painting (PiP) it allows the video to be suspended on other controllers while watching movies while doing other things!

Search

IOS9 provides a series of new methods to get the content in the App. Users can directly obtain the content in our App through HandOff, Siri, and built-in search, even if the user has not installed our App!

Game Development IOS9 further improves the graphics and audio performance in the game (the iOS game engine is independent of other cross-platform game development engines ). It mainly enhances the ease-of-use of the game development framework and improves GPU performance control. App Thinning
IOS9 released App Thinning. (Is Shenma App Thinning? App Thinning refers to the cropping of our App based on the user's specific device type and operating system when the user downloads and installs our App from the apple store, so as to occupy the least disk space, maximize compatibility. After optimization, the user will not download the complete Bundle of our application, but will download the simplest configuration + specific requirements, which will shorten the download process and free up more memory space, this is closely related to Apple's call for developing a universal App. This optimization is called App Thinning. P.S. The above is the author's summary)
App Thinning currently includes: Slicing-Slicing (iOS), Bitcode (iOS, watchOS) and
On-Demand Resources (iOS)

Slicing: Artwork is incorporated into Asset Catalog
And are marked with the corresponding platform, so that the AppStore knows which resources are really required by users to download and install.

BitCode: Bitcode is the encoding of the intermediate code of the LLVM compiler. We submit the intermediate code to the AppStore, and then the AppStore will compile-Comple and connect-Link, finally, a 32-bit or 64-bit executable file is provided for users to download. Currently, the intermediate code submission for iOS applications is optional, but apple requires that the watchOS application submission contain Bitcode (@ Required)

On-Demand
Resources: when Resources are loaded lazily, that is, some Resources are stored in the cloud or AppStore, They are requested only when necessary, in order to reduce the size of the App package. The benefits of lazy loading resources are listed later. Supported languages from Right To Left (RTL-Right To Left Language) This update is the most difficult to understand. I thought RTL was a special syntax (isn't there any context-independent syntax in the compilation principle ?), The result is that I think too much. This should be a kind of personalized update by Apple. It supports the display of the language from right to left. Is Shenma a language from right to left? From the left to the right of a word, the sentence is written as I like. In the past, Chinese was also written from the right to the left. Now it has been changed, but there are still many languages in the world that are written and read from the right to the left, such:
  - ar' – '???????', Arabic  - 'arc' – '?????', Aramaic  - 'bcc' – '????? ??????', Southern Balochi  - 'bqi' – '???????', Bakthiari  - 'ckb' – 'Soranî / ?????', Sorani Kurdish  - 'dv' – '??????????', Dhivehi  - 'fa' – '?????', Persian  - 'glk' – '?????', Gilaki  - 'he' – '?????', Hebrew  - 'mzn' – '????????', Mazanderani  - 'pnb' – '??????', Western Punjabi  - 'ps' – '????', Pashto 

-- [Wikipedia]

This part of content update should be incorporated into the knowledge system related to international resources, because domestic apps are not used yet.
1. Currently, all controls in UIKit support the display and input of this language.
2. UIView defines the syntax content attribute (semantic content
Attributes) to specify how a view is displayed in a left-facing context.
3. The imageFlippedForRightToLeftLayoutDirection ction method is added for UIImage, which allows you to easily map images between left and right.

P.S. once a country's reading habits change from right to right, the order of many things should change accordingly, such as the display of tabbar and Slider's sliding direction, from this point, we can see that Apple is very user-friendly.
AppTransmission Encryption
App Transit Security (ATS for short) is what we call HTTP upgrade to HTTPS transmission. By default, ATS is used for Versions later than iOS 9 and OS X 10.11, and Apple also requires us to adopt ATS as soon as possible. The advantage of ATS is to strengthen data security (see data transmission on the client and server) to prevent information leakage. For more information about HTTPS, see TSL/SSL specifications. If our server is too late for related upgrades, We can temporarily roll back to insecure network request methods (still using HTTP) as the front-end. Of course, Apple does not advocate long-term upgrade. Method: In info. plist, add
    
  
   NSAppTransportSecurity
      
          
   
    NSAllowsArbitraryLoads
           
       
   
  
App Extension
IOS9 provides several new App Extension (what is Shenma App Extension? It can be understood as a small plug-in, which is a program running outside of our App .) :

Network Expansion:

UsePacket Tunnel Provider extension pointTo implement the custom VPN tunnel protocol client.

UseApp Proxy Provider extension pointTo implement a transparent network proxy protocol client.

Use Filter Data ProviderAnd Filter Control Provider extension pointsTo achieve dynamic device network content filtering. Safari extension:
Use Shared Links extension pointAllows users to view your content through the Safari sharing link. Use Content Blocking extension pointProvides a blocking list that allows your users to block specified content when Browsing Web content using your App. Spotlight extension:
Use Indexing extension pointIndex the data in the App. Use Index Maintenance extension pointYou can re-index the data in the App without restarting the App. Audio Unit extension pointThe App is allowed to provide musical instrument playing, audio special effects, and sound synthesis functions similar to those provided by apps such as GarageBand and Logic. Contacts & Contacts UI
The two new object-oriented libraries Contacts. framework and ContactsUI. framework replace the previous Address Book and Address Book UI frameworks.
Watch Connectivity
WatchConnectivity. framework provides two-way file and data transmission between the iPhone and the paired iWatch. This framework enables instant communication and background communication between apps running on two paired devices.
SwiftEnhanced Some system framework changes AV Foundation FrameworkAVKit FrameworkCloudKit FrameworkFoundation FrameworkHealthKit FrameworkLocal Authentication Framework (locally authorized) MapKit FrameworkPassKit FrameworkSafari Services FrameworkUIKit Framework Discarded APIs
Address Book and Address Book UI frameworks. Replaced by Contacts and Contacts UI frameworks.

 

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.