UIkit框架介绍

UIKit Framework

The UIKit framework (UIKit.framework) provides crucial infrastructure for implementing graphical, event-driven apps in iOS, including the following: 

  • Basic app management and infrastructure, including the app’s main run loop

  • User interface management, including support for storyboards and nib files

  • A view controller model to encapsulate the contents of your user interface

  • Objects representing the standard system views and controls

  • Support for handling touch- and motion-based events 

  • Support for a document model that includes iCloud integration; see Document-Based App Programming Guide for iOS

  • Graphics and windowing support, including support for external displays; see View Programming Guide for iOS

  • Multitasking support; see Multitasking

  • Printing support; see Drawing and Printing Guide for iOS

  • Support for customizing the appearance of standard UIKit controls

  • Support for text and web content

  • Cut, copy, and paste support

  • Support for animating user-interface content

  • Integration with other apps on the system through URL schemes and framework interfaces

  • Accessibility support for disabled users

  • Support for the Apple Push Notification service; see Apple Push Notification Service

  • Local notification scheduling and delivery; see Local Notifications

  • PDF creation

  • Support for using custom input views that behave like the system keyboard

  • Support for creating custom text views that interact with the system keyboard

  • Support for sharing content through email, Twitter, Facebook, and other services

In addition to providing the fundamental code for building your app, UIKit also incorporates support for some device-specific features, such as the following:

  • The built-in camera (where present)

  • The user’s photo library

  • Device name and model information

  • Battery state information

  • Proximity sensor information

  • Remote control information from attached headsets

For information about the classes of the UIKit framework, see UIKit Framework Reference.

原文地址:https://www.cnblogs.com/lelun/p/5568640.html