技能 编程开发 苹果系统设计规范与最佳实践

苹果系统设计规范与最佳实践

v20260423
hig-technologies
本指南全面总结了苹果的人机界面(HIG)规范,涵盖了从Siri、Apple Pay到HealthKit、ARKit和生成式AI等多个核心技术领域。它指导开发者如何确保应用具备系统原生感,尊重用户隐私,并遵循跨平台的设计模式,从而构建出高质量、符合规范且流畅的用户体验。
获取技能
218 次下载
概览

Apple HIG: Technologies

Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.

Key Principles

General

  1. Apple technologies extend app capabilities through system integration. Each technology has established user-facing patterns; deviating creates confusion and erodes trust.

  2. Privacy and user control are paramount. Especially for health, payment, and identity technologies. Request only needed data, explain why, respect choices.

Siri and Voice

  1. Natural, predictable, recoverable. Clear conversational intent phrases that complete quickly and confirm results. Support App Shortcuts for proactive suggestions. Handle errors with clear fallbacks.

Payments and Commerce

  1. Transparent and frictionless. Standard Apple Pay button styles. Never ask for card details when Apple Pay is available. Clearly describe what the user is buying, the price, and whether it's one-time or subscription.

Health and Fitness

  1. Health data is deeply personal. Explain the health benefit before requesting access. CareKit tasks should be encouraging. ResearchKit consent flows must be thorough, readable, and respect autonomy.

Smart Home

  1. Simple and reliable. Immediate response when controlling devices. Clear device state. Graceful handling of connectivity issues.

Augmented Reality

  1. Genuine value, not gimmicks. Use AR when spatial context improves understanding. Guide setup (surface, lighting, space). Provide clear exit back to standard interaction.

Machine Learning and Generative AI

  1. Enhance without surprising. Smart suggestions, image recognition, text prediction. Clearly attribute AI-generated content. Controls to edit, regenerate, or dismiss. Let users correct mistakes.

Identity and Authentication

  1. Sign in with Apple as top option. Standard button styles. Respect email hiding preference. ID Verifier: guided flows, don't store sensitive data beyond what verification requires.

Cloud and Data

  1. Invisible and reliable sync. Data appears on all devices without manual intervention. Handle conflicts gracefully. Never lose data.

Shared Experiences

  1. Real-time participation. SharePlay: support multiple participants, show presence, handle latency. AirPlay: appropriate Now Playing metadata.

Automotive

  1. Driver safety first. Minimize interaction complexity, large touch targets, no distracting content. Only permitted app types: audio, messaging, EV charging, navigation, parking, quick food ordering.

Accessibility

  1. Baseline requirement. Every element has a meaningful VoiceOver label, trait, and action. Support Dynamic Type, Switch Control, and other assistive technologies. Test entirely with VoiceOver enabled.

Reference Index

Reference Topic Key content
siri.md Siri Intents, shortcuts, voice interaction, App Shortcuts
apple-pay.md Apple Pay Payment buttons, checkout flow, security
tap-to-pay-on-iphone.md Tap to Pay Merchant flows, contactless payment
in-app-purchase.md In-app purchase Subscriptions, one-time purchases, transparency
healthkit.md HealthKit Health data access, privacy, permissions
carekit.md CareKit Care plans, tasks, health management
researchkit.md ResearchKit Studies, informed consent, data collection
homekit.md HomeKit Smart home control, device state, scenes
augmented-reality.md ARKit Spatial context, surface detection, setup
machine-learning.md Core ML Predictions, smart features, confidence handling
generative-ai.md Generative AI Attribution, editing, responsible AI, uncertainty
icloud.md iCloud CloudKit, cross-device sync, conflict resolution
sign-in-with-apple.md Sign in with Apple Authentication, privacy, button styles
id-verifier.md ID Verifier Identity verification, document scanning
shareplay.md SharePlay Shared experiences, participant presence
airplay.md AirPlay Media streaming, Now Playing, wireless display
carplay.md CarPlay Driver safety, permitted app types, large targets
game-center.md Game Center Achievements, leaderboards, multiplayer
voiceover.md VoiceOver Screen reader, labels, traits, accessibility
wallet.md Wallet Passes, tickets, loyalty cards
nfc.md NFC Tag reading, quick interactions, App Clips
maps.md Maps Location display, annotations, directions
mac-catalyst.md Mac Catalyst iPad to Mac, menu bar, keyboard, pointer
live-photos.md Live Photos Motion capture, playback, editing
imessage-apps-and-stickers.md iMessage apps Messages extension, stickers, compact UI
shazamkit.md ShazamKit Audio recognition, music identification
always-on.md Always-on display Dimmed state, power efficiency, reduced updates
photo-editing.md Photo editing System photo editor, filters, adjustments

Output Format

  1. Implementation checklist -- step-by-step requirements per Apple's guidelines.
  2. Required vs optional features for approval.
  3. Privacy and permission requirements -- data access, usage descriptions.
  4. User-facing flow from permission prompt through task completion.
  5. Testing guidance -- key scenarios including edge cases.

Questions to Ask

  1. Which Apple technology?
  2. Core use case?
  3. Which platforms?
  4. API requirements and entitlements reviewed?
  5. What data or permissions needed?

Related Skills

  • hig-inputs -- Input methods interacting with technologies (voice for Siri, Pencil for AR, gestures for Maps)
  • hig-components-system -- Widgets, complications, Live Activities surfacing technology data
  • hig-components-status -- Progress indicators for technology operations (sync, payment, AR loading)

Built by Raintree Technology · More developer tools

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
信息
Category 编程开发
Name hig-technologies
版本 v20260423
大小 189.83KB
更新时间 2026-04-24
语言