iOS人机交互规范,为iPhone,iPad开发人员提供设计规范
Forthemostpart,userscan’tchangethesizeoftheviewport(theareathatdisplayscontent).Onthedesktop,usersresizetheviewportwhentheyresizethebrowserwindow.OniOS-baseddevices,theviewportdoesnotresizeunlessthedeviceorientationchanges.iOSuserscanchangethescaleoftheviewportbyzoominginandout,andtheycanpanthewebpage.OniPad,usersaremuchlesslikelytozoomwebcontentthantheyareoniPhone(shown
below).
eofcookiescanstreamlineuserinteractionwithwebcontentbysavingtheuser’scontext,preferences,andpreviouslyentereddata.
SafarioniOSdoesnotsupportFlash,Java(includingJavaapplets),orthird-partyplug-inswithinwebcontent.Instead,SafarioniOSsupportstheHTML5<audio>and<video>tagstoprovideaudioandvideostreaming,andJavaScriptandCSS3transforms,transitions,andanimationstodisplayanimatedcontent.
SafarioniOSinterpretsmostgesturesastargetingthewaythedevicedisplayscontent,notthecontentitself.Thetap,whichisanalogoustoasinglemouseclick,cancauseSafarioniOStosendtheonclickeventtoawebpage.Therearenoanalogsforothermouse-basedgestures,suchashover.
SafarioniOSallowswebappstoruninfull-screenmode.Webappsthatlaunchfromawebclipiconontheuser’sHomescreencanhidetheUIforSafarioniOS,sothattheylookmorelikenativeapplications.