Session replay is only useful if the frames are right. A blank frame wastes the time of whoever watches it. A frame that shows leftovers from an earlier render is a bigger problem, because it can show content you meant to hide.
PostHog iOS 3.93.3 tackles both. The SDK now skips a replay screenshot when drawHierarchy reports that it could not render the window, so a blank frame is not uploaded. It also clears the screenshot bitmap before drawing, so a failed or partial render can no longer carry old pixels into a snapshot. Version 3.93.1 added fixes for screenshotMode masking, so it is worth checking both together.
Data Points to Track
replay_frames_capturedandreplay_frames_skippedper sessionskip_reason(draw failed, window not ready, app backgrounded)blank_frame_rateacross recordings, from manual review samplesscreenshot_mode_enabled(true or false)mask_all_imagesandmask_all_text_inputssettingsrecording_duration_secondsandsession_idscreen_namewhere gaps appear mostsdk_version,os_versionanddevice_model
Setup Steps
- Upgrade posthog-ios to 3.93.3 or later.
- Record the settings you use for replay (
screenshotMode, masking options) as properties on the session or release. - Review a sample of 20 recordings from before and after the upgrade. Note blank frames and any frame that looks out of place.
- Test sensitive screens: login, payment and profile. Confirm masked areas stay masked, including after a screen change.
- Test hard cases: a modal over a camera view, a window during a rotation, and a return from the background.
- Add a team check to the release routine: watch three recordings of the newest build.
- Log the findings with the build number so later releases can be compared.
Actionable Insights
If blank frames fall after the upgrade, your recordings are now easier to read and the time spent watching them goes further. Keep a note of the gain, because it is a useful argument for keeping the SDK current.
If gaps remain on certain screens, those screens probably use rendering that the snapshot method cannot capture, such as protected video or heavy custom drawing. You may decide to mask them completely instead.
Pay close attention to privacy. Recordings that once held stale pixels should be reviewed again, and any that show content which should have been hidden need to be deleted under your retention rules. Then confirm your masking settings match your privacy notice.
Finally, treat replay as sampled evidence, not complete proof. Use it to explain a pattern you found in event data, not as the first place to look for one.
One more habit helps: tag recordings you find broken with a shared label, and review the label weekly. Over a few releases it shows whether new SDK versions are really improving quality, and it gives you evidence to share with the vendor if a problem returns.