From 149cda2c8398b3749086c19a1652d81778b4d732 Mon Sep 17 00:00:00 2001 From: Anna Garcia Date: Tue, 27 Oct 2026 18:34:10 -0400 Subject: [PATCH] docs: drop the full-window ph-no-capture exception from the migration guide #970 masks a full-window ph-no-capture view and its descendants, so the exception no longer applies. Co-Authored-By: Claude Opus 5.5 --- MIGRATION.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 657a7275a..0eb3665a5 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -66,8 +66,6 @@ Check what your screens show before you ship 4.0. Text inputs and images are mas To mask an exempt image, tag its image view with `ph-no-capture`. `ph-no-capture` also works in `accessibilityLabel`. To keep pixels out of recordings entirely, turn replay off with `config.sessionReplay = false`. -In UIKit, a tagged view that fills the whole window and has subviews isn't masked itself: only its subviews are. If it draws sensitive content itself, move that drawing into a subview and tag the subview, or turn replay off. - Masking also covers more than in 3.x: content a masked view draws outside its bounds (unclipped images, layer shadows, button titles) is masked, and so are image attachments in labels and text views when `maskAllImages` is on, with the same UIKit exceptions. Secure-entry text fields stay masked inside a `.postHogNoMask()` or `ph-no-mask` subtree. ### Replay screen names