UIViewController(Evergage) Category Reference
Declared in |
---|
UIViewController+Evergage.h |
UIViewController
category used to enable Marketing Cloud Personalization to automatically track screens, dynamically map them to actions, and provide APIs for tracking and campaigns.
For access to EVGContext
APIs, see evergageScreen
. For information about dynamically mapping screens to view actions, see the Tracking Guide.
Provides APIs to track item views and activity, track manual actions, and handle custom data campaigns for this screen.
Discussion
UI-related and lazily created on first access from main thread.
nil
if Personalization is disabled, or not yet accessed from main thread.
See Also
The optional evergageName
for this UIViewController
.
Discussion
Uniquely naming your UIViewControllers
may make action-mapping screens in the Personalization web-app even faster and easier.
Should be set before viewDidAppear
, such as within Interface Builder (Attribute Inspector on the view controller) or programmatically in viewDidLoad
or viewWillAppear
.