Collection

Life / Devices · v0.1.0In progress

Check how much space is free and see what takes up storage on a device.

iPhone preview

A Home Screen widget for used and free space, with a detailed SwiftUI breakdown in the app.

Home Screen + in-app card
Captured from the Lumo demo in iPhone Simulator. Open screenshot

Add Lumo Device Storage from the Home Screen widget gallery. Tap it to open the sample storage breakdown. In the app, Report available lets you inspect the empty state. The example runs on iOS 17 or later.

Download Xcode example

API contract

snapshot: DeviceStorageSnapshot?
Pass a decoded storage report. Pass nil when the report is unavailable.

Data and integration

Decode the same JSON shape as the React card. Supply capacityBytes, usedBytes and category bytes as whole decimal bytes. The card derives free space and keeps storage categories separate from unclassified usage.

Swift example

Preparing source code…