What I learned building Stripr
Stripr is my first app under Singhular Tech. It shows the metadata hidden in a photo, Live Photo or video and removes it before you share.
The first commit went in on March 16, 2026, and the app is now close to an App Store submission. These are the things I'd tell myself at the start.
You can remove metadata without re-encoding the image
The obvious way to strip a photo is to decode it and save a new one, which costs quality. ImageIO has a better way. CGImageDestinationAddImageFromSource copies the image from the source and lets you override properties on the way through, and setting a metadata dictionary to kCFNull removes it.
var overrides: [String: Any] = [:]
for key in metadataDictionaryKeys { // EXIF, GPS, TIFF, IPTC, MakerApple…
overrides[key as String] = kCFNull
}
overrides[kCGImagePropertyOrientation as String] = originalOrientation
CGImageDestinationAddImageFromSource(dest, source, 0, overrides as CFDictionary)The orientation line matters. Orientation is metadata too, and if it goes with the rest, portrait photos come out sideways.
A Live Photo is two files held together by one ID
A Live Photo is a still image and a short video. What pairs them is a content identifier, which on the image side lives in Apple's maker note under key 17. Strip everything and the pairing is gone. So Stripr removes the rest and writes that one key back.
Reading the video half also needs full access to the photo library. When the app only has limited access, it says so and saves a still instead.
Video works the same way, with different tools
For video I copy the audio and video tracks into a new composition and export with the passthrough preset, so nothing is re-encoded, and the export gets an empty metadata list. As with photos, one thing has to be carried over by hand: the track's preferred transform, or the video plays rotated.
The fastest path is not opening the app
Most of the time you want to strip one photo and send it. So there's a share extension, Strip & Share, and a Home Screen quick action. The stripping code sits in a shared folder that both targets compile.
The quick action arrives two different ways. If the app is launching cold it comes in the scene's connection options, and if the app is already running it comes through a scene delegate callback. Handle only one and it works half the time.
Recents need the files, not just the thumbnails
The first version of the Recent list cached a thumbnail and a few details, which meant there was nothing to share again later. The fix on March 21 was to keep the stripped copy, and the video half of a Live Photo, next to the thumbnail, and to delete all three when an item drops off the list.
Don't let the network block the main job
The free tier is 3 items every 48 hours, counted on my server so it holds across devices. That is the only part that needs a connection, and stripping a photo shouldn't wait for it.
Usage records go into a queue saved on the device and are sent when there's a connection. The limit is checked against the last count from the server plus whatever is still in the queue. Sign-in follows the same rule: a request that fails because the server can't be reached is handled differently from one the server rejects, so a dropped connection never signs you out.
Next up for Stripr is App Store review.