InAppMessagingImageOnlyDisplay
class InAppMessagingImageOnlyDisplay : InAppMessagingDisplayMessage
Class for defining a image-only message for display. This class is unavailable on macOS, macOS Catalyst, and watchOS.
-
Gets the image for this message
Declaration
Swift
@NSCopying var imageData: InAppMessagingImageData { get }
-
Gets the action URL for an image-only fiam message.
Declaration
Swift
var actionURL: URL? { get }
-
Unavailable
Unavailable.
-
Exposed for unit testing only, or for use in SwiftUI previews. Don’t instantiate this in your app directly.
Declaration
Swift
init(campaignName: String, imageData: InAppMessagingImageData, actionURL: URL?, appData: [AnyHashable : Any]?)