What does the interactionActivityTrackingTag(_:) method do?

234 Views Asked by At

I recently came across the interactionActivityTrackingTag(_:) method. It was released on iOS 16, and I’m looking for information about it.

The following doc's example tracks the scrolling activity of a List:

List {
    Section("Today") {
        ForEach(messageStore.today) { message in
            Text(message.title)
        }
    }
}
.interactionActivityTrackingTag("MessagesList")

How to use the created "MessageList" tag? What it is used for? Are there some related methods to work with?

Any help or resources would be greatly appreciated. Thank you! :)

0

There are 0 best solutions below