官术网_书友最值得收藏!

The iOS architecture

iOS acts as an intermediary between the underlying hardware components and the applications that appear on the screen. The applications do not talk to the underlying hardware directly. Instead, they communicate through a well-defined system interface that protects the applications from hardware changes. This abstraction makes it easy to build applications that work on devices with different hardware capabilities.

The iOS architecture consists of four layers—the Cocoa Touch layer, Media layer, Core Services layer, and Core OS layer—as shown in the following figure. Each layer consists of several frameworks that help to build an application:

The iOS layers
  • The Cocoa Touch layer: The Cocoa Touch layer contains the key frameworks required to develop the visual interface for iOS applications. Frameworks in this layer provide the basic application infrastructure and support key technologies, such as multitasking, touch-based input, and many high-level system services.
  • The Media layer: The Media layer provides the graphics and audio and video frameworks to create the best multimedia experience available on a mobile device. The technologies in this layer help developers to build applications that look and sound great.
  • The Core Services layer: The Core Services layer provides the fundamental system services that are required for the applications. Not all of these services are used by developers, though many parts of the system are built on top of them. This layer contains technologies to support features such as location, iCloud, and social media.
  • The Core OS layer: The Core OS layer is the base layer and sits directly on top of the device hardware. This layer deals with low-level functionalities and provides services such as networking (BSD sockets), memory management, threading (POSIX threads), filesystem handling, external accessories access, and inter-process communication.
主站蜘蛛池模板: 九龙城区| 定结县| 张北县| 屏东县| 陇川县| 通山县| 洛南县| 那坡县| 永顺县| 大厂| 武冈市| 岢岚县| 景泰县| 沾益县| 武乡县| 霍山县| 隆德县| 灌南县| 堆龙德庆县| 镇巴县| 星子县| 鄂托克前旗| 思茅市| 宁夏| 遂宁市| 景宁| 高唐县| 三穗县| 亚东县| 类乌齐县| 普兰店市| 双城市| 桐乡市| 黄浦区| 扬州市| 车致| 诸城市| 金乡县| 南昌市| 房产| 大英县|