IOS9 Development GoGoGo: New features

Source: Internet
Author: User
Tags deprecated uikit

IOS9 has been released for some time, how much do you know about the new features of iOS9? Whether still stay in multi-tasking (split screen, picture in painting), SWIFT2, HTTPS mandatory upgrade of the things we are turning around? Today, we have a deep understanding of the wider technological innovations that iOS9 brings to us.
Directory:

    • IOS9 new features Overview
      • Multi-tasking for ipad apps strengthens
      • Search
      • Game development
      • APP thinning
      • Supports right-to-left languages rtl-right to Language
      • App Transfer encryption
      • APP Extensions
      • Contacts Contacts UI
      • Watch Connectivity
      • Swift strengthens
      • Changes to some system frameworks
          • AV Foundation Framework
          • Avkit Framework
          • CloudKit Framework
          • Foundation Framework
          • HealthKit Framework
          • Local authentication Framework on-premises licensing
          • Mapkit Framework
          • Passkit Framework
          • Safari Services Framework
          • UIKit Framework
      • Deprecated APIs

IOS9 new features Overview

First we understand the following IOS9 general update points:

multi-tasking for IPad apps strengthens

As mentioned above, the split screen and Pip, Apple in the iOS9 for the ipad added slide over, Split View and pictures in the picture three mode to enhance multitasking, the best is the PIP (short PIP), It lets videos hover over other controllers and do other things while watching movies!

Search

IOS9 provides a whole new way to get the content in the app, with Handoff,siri and built-in search to get to our app directly, even if the user hasn't installed our app!

Game Development
    1. IOS9 further enhances in-game graphics and audio performance (iOS home game engine, independent of other cross-platform game development engines).
    2. It mainly enhances the usability of the game development framework and improves the ability of GPU performance.
App Thinning
iOS9推出App Thinning。(神马是App Thinning?App Thinning指的是用户从苹果商店下载安装我们的App时,根据这个用户的具体设备类型及操作系统对我们的App进行裁剪,达到占用最少的磁盘空间,发挥最大的兼容性等目的。经过优化后,用户不会下载我们应用的完整Bundle,而是下载最简配置+特定需求项,从而让下载过程缩短,腾出更多的内存空间,这跟苹果呼吁我们开发通用App离不开干系的。这种优化称为为App Thinning。P.S.以上为作者自己的总结)
    1. APP thinning currently includes: slicing-slicing (iOS), Bitcode (iOS, WatchOS) and
      On-demand Resources (IOS)
    2. Slicing:artwork is included in asset Catalog
      , and is tagged with the platform, so AppStore knows which users are distributing the resources they really need to download the installation.

    3. Bitcode:bitcode is the encoding of the intermediate code of the LLVM compiler, we submit the intermediate code to AppStore, which is then compiled-comple and connected-link by AppStore, and eventually provides 32-bit or 64-bit executables for download by the user. Intermediate code submissions for iOS apps are optional, but Apple has asked watchOS app submissions to include Bitcode (@Required)

    4. On-demand
      Resources: Lazy load resource, that is, part of the resources in the cloud or AppStore, when needed to request down, but also to reduce the volume of the app package. The benefits of lazy loading resources are listed later.
supports right-to-left languages (Rtl-right to Language)
    1. This update is my most puzzling, I thought that RTL is a special grammar (compiler principle is not any context-independent grammar?) As a result, I think more, this should be an Apple's humanized update, support for right-to-left language display.
    2. is the god horse a right-to-left language? Words left to right from the words of the sentence this is written in the now I like. In the past, Chinese was written from the right to the left, and now it has changed, but there are still many languages in the world that are written and read from the right to the left, such as:
  - 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  

--[Wikipedia]

This part of the content update should be included in the international resource-related knowledge system, because the current domestic app is still not available.
1. All the controls in Uikit now support the display and input of this language.
2. UIView defines the syntax content properties (semantic
attributes) to specify how the view is displayed in a free-to-left context.
3. UIImage New method Imageflippedforrighttoleftlayoutdirection, can be very convenient to map the image to the left and right mapping transformation.

 P.S. 一旦一个国家的阅读习惯是从右到做的,那么很多东西的顺序都应该随之改变,比如tabbar的显示,Slider的滑动方向等,从这一点可以看出苹果非常的人性化。
App transfer Encryption
App Transit Security,简称ATS,也就是我们所说的HTTP升级至HTTPS传输。iOS 9 与OS X 10.11以后版本已经默认使用ATS,而苹果也要求我们尽快采用ATS。ATS的好处是加强数据安全(客户端与服务器见的数据传输),防止信息泄露。关于HTTPS参阅TSL/SSL规范。如果我们的服务器端还来不及做相关升级,那么作为前端我们可以暂时回滚至不安全的网络请求方式(依然使用HTTP),当然苹果不提倡长期这样做。具体方法:在info.plist中添加
    <key>NSAppTransportSecurity</key>    <dict>        <key>NSAllowsArbitraryLoads</key>        <true/>    </dict>
App Extensions
iOS9提供几种新的App Extension(神马是App Extension?可以理解为小插件,是一种运行在我们App之外的一段程序。):
    • Network extensions:

      • Use Packet tunnel Provider Extension Point to implement a custom VPN tunneling protocol client.

      • Use App proxy Provider extension point to implement a client for a transparent network proxy protocol.

      • Use the filter Data Provider and the filter Control Provider extension points to implement dynamic device-side network content filtering.
    • Safari Extensions:
      • Use shared links extension point to let users see your content through Safari's share link.
      • Use the content Blocking extension Point to provide a block list that allows your users to block the specified content when browsing Web content using your app.
    • Spotlight Extensions:
      • Use indexing extension point to index the data within the app.
      • Use the index maintenance extension point to re-index the data within the app without restarting the app.
    • Audio Unit Extension Point allows the app to provide instrument performance, audio effects, and sound synthesis functions similar to those offered by apps such as Garageband,logic.
Contacts & Contacts UI
Contacts.framework 和 ContactsUI.framework 这2个新的面向对象的库取代了之前的Address Book 与 Address Book UI frameworks。
Watch Connectivity
WatchConnectivity.framework 提供iPhone和与之配对的iWatch之间进行双向的文件、数据传输。这套框架能够让配对的两个设备上同时运行的App进行即时通信,也可以进行后台通信。
Swift strengthens changes to some system frameworksAV Foundation frameworkavkit frameworkcloudkit frameworkfoundation frameworkhealthkit frameworklocal Authentication Framework (Local authority) Mapkit Frameworkpasskit Frameworksafari Services frameworkuikit Framework Deprecated APIs
Address Book 和 Address Book UI frameworks。取而代之的是 Contacts 和 Contacts UI frameworks 。

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

IOS9 Development GoGoGo: New features

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.