EVGScreen Class Reference

Inherits fromDeclared in
EVGContext : NSObjectEVGScreen.h

A "screen" of the app, and the context for its associated user activity.

Typically an app screen is represented by a UIViewController. Its EVGScreen can be retrieved via [UIViewController(Evergage) evergageScreen].

For APIs to track item views and activity, track manual actions, and handle data campaigns, see EVGContext.

If you need a non-UIViewController screen, please get in touch with the Support team.

If the screen is visible.

Discussion

For the standard [UIViewController(Evergage) evergageScreen], Personalization automatically:

  • Updates visibility during viewDidAppear: and viewWillDisappear:, for eligible view controllers.
  • Tracks the "view action" when the screen becomes visible and the app is or becomes active, if an action is dynamically mapped to the screen using the Personalization web app. For more information, see the Tracking Guide.