iOS人机交互规范,为iPhone,iPad开发人员提供设计规范
OnscreenUserHelpIsMinimal
PreferencesintheSettingsappareofthe“setonceandrarelychange”type.Althoughsomeofthebuilt-inapplicationshavethistypeofpreferenceintheSettingsapp,mostappsdonotneedthistype,sotheydon’thavepreferencesintheSettingsapp.
OnscreenUserHelpIsMinimal
Mobileusershaveneitherthetimenorthedesiretoreadthroughalotofhelpcontentbeforetheycanbenefitfromanapplication.What’smore,helpcontenttakesupvaluablespacetostoreanddisplay.
iOS-baseddevicesandtheirbuilt-inapplicationsareintuitiveandeasytouse,sopeopledon’tneedonscreenhelpcontenttotellthemhowtousethedeviceortheapps.ThisexperienceleadspeopletoexpectalliOSappstobesimilarlyeasytouse.
MostiOSAppsHaveaSingleWindow
AniOSapplicationhasasinglewindow,unlessitsupportsanexternaldisplay.Anapp’swindowfillsthedevice’smainscreenandprovidesanemptysurfacethathostsoneormoreviewsinwhichyoupresentyourcontent.It’simportanttorealizethatawindowinaniOSappisverydifferentfromawindowinacomputerapplication.Forexample,aniOSwindowhasnovisiblecomponents(suchasatitlebaroraclosebutton)anditcannotbemovedtoanewlocationonthedevicescreen.
It’salsoimportanttorealizethatmostusersareunawareofthewindowsandviewsintheiOSappsthattheyuse.Forthemostpart,usersexperienceaniOSappasacollectionofscreensthroughwhichtheynavigate.Fromthisperspective,ascreengenerallycorrespondstoadistinctvisualstateormodeinanapp.IntheContactsapponiPhone,forexample,usersthinkoftheircontactlist(regardlessofitslength)asonescreenandanindividualcontact’sdetailsasadifferentscreen.
Note BecausethisdocumentfocusesontheuserinterfaceanduserexperienceofiOSapps,it
frequentlyuses“screen”asitisunderstoodbymostusers.Unlessotherwisestated,thisdocument
doesnotuse“screen”tomeanaUIScreenobject(whichisanobjectyoucanusetoaccessamirrored
displayscreen).
TwoTypesofSoftwareRuniniOS
TherearetwotypesofsoftwarethatyoucandevelopforiOS-baseddevices:
●iOSapps