[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-04 UTC."],[],[],null,["# FirebaseInAppMessaging Framework Reference\n\nInAppMessagingModalDisplay\n==========================\n\n class InAppMessagingModalDisplay : ../Classes/InAppMessagingDisplayMessage.html\n\nClass for defining a modal message for display.\nThis class is unavailable on macOS, macOS Catalyst, and watchOS.\n- `\n ``\n ``\n `\n\n ### [title](#/c:objc(cs)FIRInAppMessagingModalDisplay(py)title)\n\n `\n ` \n Gets the title for a modal fiam message. \n\n #### Declaration\n\n Swift \n\n var title: String { get }\n\n- `\n ``\n ``\n `\n\n ### [imageData](#/c:objc(cs)FIRInAppMessagingModalDisplay(py)imageData)\n\n `\n ` \n Gets the image data for a modal fiam message. \n\n #### Declaration\n\n Swift \n\n @NSCopying var imageData: ../Classes/InAppMessagingImageData.html? { get }\n\n- `\n ``\n ``\n `\n\n ### [bodyText](#/c:objc(cs)FIRInAppMessagingModalDisplay(py)bodyText)\n\n `\n ` \n Gets the body text for a modal fiam message. \n\n #### Declaration\n\n Swift \n\n var bodyText: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [actionButton](#/c:objc(cs)FIRInAppMessagingModalDisplay(py)actionButton)\n\n `\n ` \n Gets the action button metadata for a modal fiam message. \n\n #### Declaration\n\n Swift \n\n var actionButton: ../Classes/InAppMessagingActionButton.html? { get }\n\n- `\n ``\n ``\n `\n\n ### [actionURL](#/c:objc(cs)FIRInAppMessagingModalDisplay(py)actionURL)\n\n `\n ` \n Gets the action URL for a modal fiam message. \n\n #### Declaration\n\n Swift \n\n var actionURL: URL? { get }\n\n- `\n ``\n ``\n `\n\n ### [displayBackgroundColor](#/c:objc(cs)FIRInAppMessagingModalDisplay(py)displayBackgroundColor)\n\n `\n ` \n Gets the background color for a modal fiam message. \n\n #### Declaration\n\n Swift \n\n @NSCopying var displayBackgroundColor: UIColor { get }\n\n- `\n ``\n ``\n `\n\n ### [textColor](#/c:objc(cs)FIRInAppMessagingModalDisplay(py)textColor)\n\n `\n ` \n Gets the color for text in modal fiam message. It would apply to both title and body text. \n\n #### Declaration\n\n Swift \n\n @NSCopying var textColor: UIColor { get }\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)FIRInAppMessagingModalDisplay(im)init)\n\n `\n ` \n Unavailable \n Unavailable.\n- `\n ``\n ``\n `\n\n ### [init(campaignName:titleText:bodyText:textColor:backgroundColor:imageData:actionButton:actionURL:appData:)](#/c:objc(cs)FIRInAppMessagingModalDisplay(im)initWithCampaignName:titleText:bodyText:textColor:backgroundColor:imageData:actionButton:actionURL:appData:)\n\n `\n ` \n Exposed for unit testing only, or for use in SwiftUI previews. Don't instantiate this in your\n app directly. \n\n #### Declaration\n\n Swift \n\n init(campaignName: String, titleText title: String, bodyText: String?, textColor: UIColor, backgroundColor: UIColor, imageData: ../Classes/InAppMessagingImageData.html?, actionButton: ../Classes/InAppMessagingActionButton.html?, actionURL: URL?, appData: [AnyHashable : Any]?)"]]