In-App Messaging in iOS Apps that use SDK Version 11
The processes for implementing and customizing in-app messaging have been updated in version 11 of the SDK. To upgrade your app to version 11 of the SDK, first update the initialization code. Then, use these code examples to update the in-app messaging code in your app.
To make your application a delegate of the SDK’s in-app messaging functionality, use setEventDelegate. This code example shows how to set the event delegate using version 11 of the SDK.
You can delay or prevent an in-app message’s display using the shouldShow method. For example, you can choose to prevent an in-app message from displaying during the loading process, sign-in flow, and other situations. To prevent or delay message display, set the shouldShow method to return false.
Use this code example to customize the font used in an in-app message.