iOS-HIG 綜述-界面概述

Interface Essentials

Most iOS apps are built using components from UIKit, a programming framework that defines common interface elements. This framework lets apps achieve a consistent appearance across the system, while at the same time offering a high level of customization. UIKit elements are flexible and familiar. They’re adaptable, enabling you to design a single app that looks great on any iOS device, and they automatically update when the system introduces appearance changes. The interface elements provided by UIKit fit into three main categories:

大多數(shù)iOS app 用UIKit框架的組件來搭建,UIKit-一個(gè)定義了通用界面元素的編程框架。這個(gè)框架讓app擁有一致的外觀的,同時(shí)提供了高度的可定制化。UIKit 元素靈活而易于理解。它們適配方便,讓你設(shè)計(jì)一個(gè)應(yīng)用卻能在所有iOS設(shè)備都看上去不錯(cuò),它們自動(dòng)升級(jí)隨著系統(tǒng)自帶樣式改變。UIKit提供的界面元素分為3個(gè)主要類別:

Bars.Tell people where they are in your app, provide navigation, and may contain buttons or other elements for initiating actions and communicating information.

柵欄。告訴人們?cè)赼pp何處,提供導(dǎo)航,包含按鈕或其他元素來開始行動(dòng)和交流信息。

Views.Contain the primary content people see in your app, such as text, graphics, animations, and interactive elements. Views can enable behaviors such as scrolling, insertion, deletion, and arrangement.

視圖。包含主要用戶在app中看到的主要內(nèi)容,例如文本,圖表,動(dòng)畫,和交互元素。視圖支持以下行為:滾動(dòng),插入,刪除和整理。

Controls.Initiate actions and convey information. Buttons, switches, text fields, and progress indicators are examples of controls.

控制。初始化操作和傳遞信息??刂破鞯睦佑邪粹o,轉(zhuǎn)換器,文本框和進(jìn)度指示器。

In addition to defining the interface of iOS, UIKit defines functionality your app can adopt. Through this framework, for example, your app can respond to gestures on the touchscreen and enable features such as drawing, accessibility, and printing.

除了定義iOS的界面,UIKit還定義你的app能運(yùn)用的功能。通過這個(gè)框架,例如,你的app可以對(duì)觸摸屏手勢(shì)應(yīng)答,支持特性有諸如繪畫,可訪問性,打印。

iOS tightly integrates with other programming frameworks and technologies too, such as Apple Pay, HealthKit, and ResearchKit, enabling you to design amazingly powerful apps.

iOS高度集成其他框架和技術(shù),例如Apple Pay, HealthKit, and ResearchKit,是你能設(shè)計(jì)出無比卓越的app。

https://developer.apple.com/ios/human-interface-guidelines/overview/interface-essentials/

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的閱讀 13,657評(píng)論 5 6
  • afinalAfinal是一個(gè)android的ioc,orm框架 https://github.com/yangf...
    passiontim閱讀 15,873評(píng)論 2 45
  • 閉包就是定義在其他函數(shù)內(nèi)部的函數(shù),并且能夠讀取其他函數(shù)的局部變量,所以,在本質(zhì)上,閉包就是將函數(shù)內(nèi)部和函數(shù)外部連接...
    luyanpeng閱讀 281評(píng)論 0 0
  • 有時(shí)候我們需要針對(duì)Android手機(jī)的app進(jìn)行抓包,就需要用到工具:charles先看效果: 這樣我們就可以把手...
    大胡子的機(jī)器人閱讀 1,881評(píng)論 0 4
  • 是夜,從手機(jī)映出微光跟顯夜里的寧靜。 是深沉而又寧靜安詳。最合適看言情小說了吧!耳邊想起同事的話(大學(xué)就是要談戀...
    此時(shí)此刻閱讀 248評(píng)論 0 2

友情鏈接更多精彩內(nèi)容