Product Benefits Pricing Guides Docs About Contact us Try it out
Analytics tools

PostHog iOS Replay Blank Screenshot Tracking

PostHog iOS replay blank screenshot tracking: spot skipped frames and leftover bitmap data in session replay with posthog-ios 3.93.3.

· 3 min read

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_captured and replay_frames_skipped per session
  • skip_reason (draw failed, window not ready, app backgrounded)
  • blank_frame_rate across recordings, from manual review samples
  • screenshot_mode_enabled (true or false)
  • mask_all_images and mask_all_text_inputs settings
  • recording_duration_seconds and session_id
  • screen_name where gaps appear most
  • sdk_version, os_version and device_model

Setup Steps

  1. Upgrade posthog-ios to 3.93.3 or later.
  2. Record the settings you use for replay (screenshotMode, masking options) as properties on the session or release.
  3. Review a sample of 20 recordings from before and after the upgrade. Note blank frames and any frame that looks out of place.
  4. Test sensitive screens: login, payment and profile. Confirm masked areas stay masked, including after a screen change.
  5. Test hard cases: a modal over a camera view, a window during a rotation, and a return from the background.
  6. Add a team check to the release routine: watch three recordings of the newest build.
  7. 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.