Migrating to AEPLifecycle reference
This document is a reference comparison of AEPLifecycle (3.x) APIs against their equivalent APIs in ACPLifecycle (2.x) for an iOS mobile application implementation.

Public Classes

Type
AEP 3.x (Swift)
AEP 3.x (Objective-C)
ACP 2.x (Objective-C)
Primary Class
Lifecycle
AEPMobileLifecycle
ACPLifecycle
Class
MobileCore
AEPMobileCore
ACPCore

Lifecycle extension APIs

For more information, please read the Lifecycle API reference.

extensionVersion

AEP 3.x (Swift)
AEP 3.x (Objective-C)
ACP 2.x (Objective-C)
Lifecycle.extensionVersion
[AEPMobileLifecycle extensionVersion];
ACPLifecycle.extensionVersion()

lifecycleStart

AEP 3.x (Swift)
AEP 3.x (Objective-C)
ACP 2.x (Objective-C)
MobileCore.lifecycleStart(additionalContextData: data)
[AEPMobileCore lifecycleStart: data];
[ACPCore lifecycleStart: data];

lifecyclePause

AEP 3.x (Swift)
AEP 3.x (Objective-C)
ACP 2.x (Objective-C)
MobileCore.lifecyclePause()
[AEPMobileCore lifecyclePause];
[ACPCore lifecyclePause];
Export as PDF
Copy link
Edit on GitHub
On this page
Public Classes
Lifecycle extension APIs
extensionVersion
lifecycleStart
lifecyclePause