posthog-ios
posthog-ios copied to clipboard
Support `ph-no-capture` for SwiftUI
Description
See note https://posthog.com/docs/session-replay/ios
.accessibilityIdentifier("ph-no-capture")
when reading the accessibilityIdentifier property, it always returns nil
See https://github.com/PostHog/posthog-ios/issues/167#issuecomment-2310132354 Probably the same technique is possible
Found a workaround for manually tagging views for SwiftUI https://github.com/PostHog/posthog-ios/pull/202