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)
Copied to your clipboardLifecycle.extensionVersion
AEP 3.x (Objective-C)
Copied to your clipboard[AEPMobileLifecycle extensionVersion];
ACP 2.x (Objective-C)
Copied to your clipboardACPLifecycle.extensionVersion()
Copied to your clipboardLifecycle.extensionVersion
Copied to your clipboard[AEPMobileLifecycle extensionVersion];
Copied to your clipboardACPLifecycle.extensionVersion()
lifecycleStart
AEP 3.x (Swift)
Copied to your clipboardMobileCore.lifecycleStart(additionalContextData: data)
AEP 3.x (Objective-C)
Copied to your clipboard[AEPMobileCore lifecycleStart: data];
ACP 2.x (Objective-C)
Copied to your clipboard[ACPCore lifecycleStart: data];
Copied to your clipboardMobileCore.lifecycleStart(additionalContextData: data)
Copied to your clipboard[AEPMobileCore lifecycleStart: data];
Copied to your clipboard[ACPCore lifecycleStart: data];
lifecyclePause
AEP 3.x (Swift)
Copied to your clipboardMobileCore.lifecyclePause()
AEP 3.x (Objective-C)
Copied to your clipboard[AEPMobileCore lifecyclePause];
ACP 2.x (Objective-C)
Copied to your clipboard[ACPCore lifecyclePause];
Copied to your clipboardMobileCore.lifecyclePause()
Copied to your clipboard[AEPMobileCore lifecyclePause];
Copied to your clipboard[ACPCore lifecyclePause];