Overriding default images
SDWebImage is required if you plan on using our Braze UI for displaying images within iOS in-app messages or Content Cards.
Braze allows clients to replace existing default images with their own custom images. To accomplish this, create a new
png file with the custom image and add it to the app’s image bundle. Then, rename the file with the image’s name to override the default image in our library. Also, be sure to upload the
@3x versions of the images to accommodate different phone sizes. Images available for override in Content Cards include:
- Placeholder image:
- Pinned icon image:
Because Content Cards have a maximum size of 2 KB for content you enter in the dashboard (including message text, image URLs, links, and all key-value pairs), check the size before sending. Exceeding this amount will prevent the card from sending.
Overriding default images is currently not supported in our Xamarin iOS integration.