sickn33/agentic-awesome-skills / plugins/aasb-aas-mobile-app-builder/skills/hig-inputs
hig-inputs
VerifiedDesign Apple-platform input interactions for touch, keyboard, pointer, Pencil, controllers, spatial gestures and supported device sensors, with accessible alternatives.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 7.5 KB |
| references/apple-pencil-and-scribble.md | markdown | 20.3 KB |
| references/camera-control.md | markdown | 10.3 KB |
| references/digital-crown.md | markdown | 6.7 KB |
| references/eyes.md | markdown | 13.3 KB |
| references/focus-and-selection.md | markdown | 16.1 KB |
| references/game-controls.md | markdown | 16.8 KB |
| references/gestures.md | markdown | 22.1 KB |
| references/gyro-and-accelerometer.md | markdown | 3.2 KB |
| references/keyboards.md | markdown | 20.4 KB |
| references/nearby-interactions.md | markdown | 8.0 KB |
| references/pointing-devices.md | markdown | 30.0 KB |
| references/remotes.md | markdown | 7.5 KB |
| references/spatial-interactions.md | markdown | 8.2 KB |
references/gyro-and-accelerometer.md
View on GitHub---
title: "Gyroscope and accelerometer | Apple Developer Documentation"
source: https://developer.apple.com/design/human-interface-guidelines/gyro-and-accelerometer
---
# Gyroscope and accelerometer
On-device gyroscopes and accelerometers can supply data about a device’s movement in the physical world.

You can use accelerometer and gyroscope data to provide experiences based on real-time, motion-based information in apps and games that run in iOS, iPadOS, and watchOS. Some remote generations provide motion sensors; others do not. Detect the connected controller/remote capabilities instead of assuming gyroscope data. For developer guidance, see [Core Motion](https://developer.apple.com/documentation/CoreMotion).
## [Best practices](https://developer.apple.com/design/human-interface-guidelines/gyro-and-accelerometer#Best-practices)
**Use motion data only to offer a tangible benefit to people.** For example, a fitness app might use the data to provide feedback about people’s activity and general health, and a game might use the data to enhance gameplay. Avoid gathering data simply to have the data.
Important
If your experience needs to access motion data from a device, you must provide copy that explains why. Purpose strings, authorization and prompts depend on the Core Motion API and platform; not every raw sensor call prompts in the same way. Check the exact API’s requirements and handle denial/unavailable sensors without inferring permission from lack of a prompt.
**Outside of active gameplay, avoid using accelerometers or gyroscopes for the direct manipulation of your interface.** Some motion-based gestures may be difficult to replicate precisely, may be physically challenging for some people to perform, and may affect battery usage.
## [Platform considerations](https://developer.apple.com/design/human-interface-guidelines/gyro-and-accelerometer#Platform-considerations)
_No additional considerations for iOS, iPadOS, macOS, tvOS, visionOS, or watchOS._
## [Resources](https://developer.apple.com/design/human-interface-guidelines/gyro-and-accelerometer#Resources)
#### [Related](https://developer.apple.com/design/human-interface-guidelines/gyro-and-accelerometer#Related)
[Feedback](https://developer.apple.com/design/human-interface-guidelines/feedback)
#### [Developer documentation](https://developer.apple.com/design/human-interface-guidelines/gyro-and-accelerometer#Developer-documentation)
[Getting processed device-motion data](https://developer.apple.com/documentation/CoreMotion/getting-processed-device-motion-data) — Core Motion
#### [Videos](https://developer.apple.com/design/human-interface-guidelines/gyro-and-accelerometer#Videos)
[ Measure health with motion ](https://developer.apple.com/videos/play/wwdc2021/10287)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |