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)
1
Lifecycle.extensionVersion
Copied!
1
[AEPMobileLifecycle extensionVersion];
Copied!
1
ACPLifecycle.extensionVersion()
Copied!

lifecycleStart

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

lifecyclePause

AEP 3.x (Swift)
AEP 3.x (Objective-C)
ACP 2.x (Objective-C)
1
MobileCore.lifecyclePause()
Copied!
1
[AEPMobileCore lifecyclePause];
Copied!
1
[ACPCore lifecyclePause];
Copied!