Skip to content

Commit

Permalink
feat(iOS): Update session replay mobile documentation for SwiftUI vie…
Browse files Browse the repository at this point in the history
…w masking
  • Loading branch information
ioannisj committed Oct 10, 2024
1 parent cea8c1e commit b66851c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contents/docs/session-replay/ios.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ imvProfilePhoto.accessibilityIdentifier = "ph-no-capture"

- When using the [SwiftUI TextField](https://developer.apple.com/documentation/swiftui/textfield) with [UITextInputTraits](https://developer.apple.com/documentation/uikit/uitextinputtraits), setting traits such as `TextField("Email", text: ...).keyboardType(.emailAddress)` will always be automatically masked since it's for private text.
- The [SwiftUI SecureField](https://developer.apple.com/documentation/swiftui/securefield) view is always automatically masked.
- You can manually mark a SwiftUI View for masking using the `postHogMask(_:)` view modifier

## Limitations

Expand Down

0 comments on commit b66851c

Please sign in to comment.