SRViewChangeDefinition Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | SRViewChangeDefinition.h |
Overview
Your UIViewController subclass can adopt this protocol to disable automatic view logging and counting.
Most of time, the appearance of a UIViewController on screen is counted as a “page view” by the SDK. Some container controllers, however, are not counted (e.g. UINavigationController). You may have your own custom controllers that you don’t wish to be counted (or containers that you think should be). This protocol enables an override of the default behavior.
Page View Behaviour
shouldCountPageViews
Returns whether the SDK should count the appearance of this controller as a “page view”
@property (NS_NONATOMIC_IOSONLY, readonly) BOOL shouldCountPageViews
Return Value
YES if you want to count the current controller, otherwise NO
Declared In
SRViewChangeDefinition.h