View

public extension View
  • A custom modifier used by Granify to collect scroll statistics from a page that uses a SwiftUI ScrollView. Add this modifier to the top-level(or highest level) ScrollView on a page that was created using SwiftUI’s declarative structure. Do not add this modifier to more than one ScrollView on a given page. If this modifier is present on a page, do not include a mainScrollView in that page’s trackPageView call.

    Since

    Since 7.1.0

    Declaration

    Swift

    func granifyScrollTracking() -> some View