Symbols: 72.7% of Apple's iOS API (282 of 388, exact) · Rows: 6: 1 ✅ 2 🧩 3 ❌ · iOS: 4.0+
Area: Location, personal data & sensors · Apple: CoreMotion · Issues: area:location
- Adapted: a device held upright at rest, with Simulator-style "unavailable" answers.
- Objective-C / C interface: headers in
isim/sdk-src/Frameworks/CoreMotionover the overlay's classes: the motion manager and its data, the pedometer, motion activity, the altimeter and headphone motion.
| API / feature | Status | iOS | Notes |
|---|---|---|---|
| Core Motion (accelerometer, gyroscope, pedometer) | ✅ | ≤17 | adapted: a device held upright at rest (gravity (0,-1,0), no rotation) for accelerometer/gyro/magnetometer/device-motion push and pull updates; ISIM_MOTION=unavailable reports no sensors like the Simulator; pedometer, activity, altimeter unavailable (Simulator); shake stays a UIKit motion event. Tested (HelloSensors, iOS 17–27) |
Objective-C interface: CMPedometer (CMPedometerData, CMPedometerEvent), CMMotionActivityManager (CMMotionActivity), CMAltimeter (CMAltitudeData), CMHeadphoneMotionManager, CMAuthorizationStatus, CMError |
🧩 | ≤17 | stub, like the Simulator (and the Swift API): unavailable; queries fail with CMErrorMotionActivityNotAvailable / CMErrorNotAvailable. Tested (HelloSensorsObjC: test_sensors_objc) |
Sensors the Simulator lacks: CMHeadphoneMotionManager (connection status, CMHeadphoneMotionManagerDelegate), CMBatchedSensorManager, CMSensorRecorder (CMSensorDataList, CMRecordedAccelerometerData), absolute altitude (CMAltimeter.startAbsoluteAltitudeUpdates, CMAbsoluteAltitudeData), CMWaterSubmersionManager (CMWaterSubmersionEvent, CMWaterSubmersionMeasurement, CMWaterTemperature, the delegate) |
🧩 | ≤17 | stub, like the Simulator: no headphones connect (connection status updates start, the delegate hears nothing); batched sensors are unsupported (the handlers get CMError.notAvailable, the accelerometerUpdates() / deviceMotionUpdates() sequences throw it); the recorder records nothing (accelerometerData(from:to:) is nil); absolute altitude updates fail with notAvailable; the water submersion delegate gets manager(_:errorOccurred:) with notAvailable. Objective-C too. Tested (HelloSensors: test_sensors, HelloSensorsObjC: test_sensors_objc) |
| Types not yet in isim (iOS 17 and earlier) | ❌ | ≤17 | not implemented, found by the 2026-10 sweep: CMAmbientPressureData, CMDyskineticSymptomResult, CMHighFrequencyHeartRateData, CMOdometerData, CMRecordedPressureData, CMTremorResult (6 types; with their members under "Not yet in isim") |
| Types not yet in isim (iOS 18) | ❌ | 18.0 | not implemented, found by the 2026-10 sweep: CMHeadphoneActivityManager (1 type; with its members under "Not yet in isim") |
| Types not yet in isim (iOS 27) | ❌ | 27.0 | not implemented, found by the 2026-10 sweep: CMBodyIdentifiable, CMRecordedDeviceMotion (2 types; with their members under "Not yet in isim") |
106 symbols Apple documents for iOS that isim does not have (exact; Apple snapshot 2026-10-14). Each links to Apple's documentation.
List
CMAmbientPressureDatavar pressure: Measurement<UnitPressure>var temperature: Measurement<UnitTemperature>init?(coder: NSCoder)CMBodyIdentifiablevar headingAccuracy: Doublecasedefault``case headphoneLeftcase headphoneRightinit?(rawValue: Int)CMDyskineticSymptomResultvar endDate: Dateinit?(coder: NSCoder)var percentLikely: Floatvar percentUnlikely: Floatvar startDate: Dateinit(rawValue: UInt32)var rawValue: UInt32var CMErrorDeviceRequiresMovement: CMErrorvar CMErrorInvalidAction: CMErrorvar CMErrorInvalidParameter: CMErrorvar CMErrorMotionActivityNotAuthorized: CMErrorvar CMErrorMotionActivityNotAvailable: CMErrorvar CMErrorMotionActivityNotEntitled: CMErrorvar CMErrorNilData: CMErrorvar CMErrorNotAuthorized: CMErrorvar CMErrorNotAvailable: CMErrorvar CMErrorNotEntitled: CMErrorvar CMErrorNULL: CMErrorvar CMErrorSize: CMErrorvar CMErrorTrueNorthNotAvailable: CMErrorvar CMErrorUnknown: CMErrorCMHeadphoneActivityManagerCMHeadphoneActivityManager.ActivityHandlerclass func authorizationStatus() -> CMAuthorizationStatusvar isActivityActive: Boolvar isActivityAvailable: Boolvar isStatusActive: Boolvar isStatusAvailable: Boolfunc startActivityUpdates(to: OperationQueue, withHandler: CMHeadphoneActivityManager.ActivityHandler)func startStatusUpdates(to: OperationQueue, withHandler: CMHeadphoneActivityManager.StatusHandler)CMHeadphoneActivityManager.Statuscase connectedcase disconnectedinit?(rawValue: Int)CMHeadphoneActivityManager.StatusHandlerfunc stopActivityUpdates()func stopStatusUpdates()CMHighFrequencyHeartRateDatavar confidence: CMHighFrequencyHeartRateDataConfidencevar date: Date?var heartRate: DoubleCMHighFrequencyHeartRateDataConfidencecase highcase highestinit?(rawValue: Int)case lowcase mediuminit?(coder: NSCoder)CMMotionActivityQueryHandlerclass var authorizationStatus: CMAuthorizationStatusvar deviceMotionBody: (any CMBodyIdentifiable)?CMOdometerDatavar deltaAltitude: CLLocationDistancevar deltaDistance: CLLocationDistancevar deltaDistanceAccuracy: CLLocationAccuracyvar endDate: Datevar gpsDate: Dateinit?(coder: NSCoder)var maxAbsSlope: Double?var originDevice: CMOdometerOriginDevicevar slope: Double?var speed: CLLocationSpeedvar speedAccuracy: CLLocationSpeedAccuracyvar startDate: Datevar verticalAccuracy: CLLocationAccuracyCMOdometerOriginDeviceinit?(rawValue: Int)case localcase remotecase unknowninit?(coder: NSCoder)init?(coder: NSCoder)CMPedometerEventHandlerCMRecordedDeviceMotionvar identifier: UInt64var startDate: DateCMRecordedPressureDatavar identifier: UInt64var startDate: DateCMRecordedRotationRateDatavar startDate: DateCMRotationRateDatavar rotationRate: CMRotationRateCMStepQueryHandlerCMStepUpdateHandlerCMTremorResultvar endDate: Dateinit?(coder: NSCoder)var percentMild: Floatvar percentModerate: Floatvar percentNone: Floatvar percentSlight: Floatvar percentStrong: Floatvar percentUnknown: Floatvar startDate: Date