Solved

Heap for SwiftUI not logging identifier

  • 28 March 2023
  • 1 reply
  • 66 views

I’m trying to log SwiftUI views identifiers through various ways `accessibilityIdentifier`, `id`, `tag`, `accessibilityLabel` yet none are being captured by the SDK. Is this a limitation on the SDK for SwiftUI or is there a workaround? The main goal is to be able to identify these views and define events based on them.

icon

Best answer by DJ East 28 March 2023, 21:11

View original

1 reply

Userlevel 2
Badge +1

Hi there, SwiftUI is supported via the Swift Core SDK, but autocapturing events in SwiftUI is still being worked on, as SwiftUI is a declarative framework and obfuscates a lot of the values we can grab using Swift and UIKit. Hope this helps!

Reply