> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-doc-2298-s2s-type-case-sensitive.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Avoid Push Template Issues in iOS Push Notifications When Notification Content Extension is Implemented?

> Push templates not rendering correctly even with Notification Content Extension? Verify Info.plist, storyboard, and build settings for MoEngage iOS.

## Problem

Push templates (carousel images, background color, font color, and so on) do not display correctly in Push notifications when the Notification Content Extension is implemented.

## Instruction

Verify the following steps:

1. The Info.plist of the Notification Content Extension should look like this:
   ```swift Swift wrap theme={null}
   <key>NSExtensionAttributes<key>
   <dict>
   	<key>UNNotificationExtensionCategory<key>
   	<string>MOE_PUSH_TEMPLATE</string>
        <key>UNNotificationExtensionDefaultContentHidden</key>
        <true/>
        <key>UNNotificationExtensionInitialContentSizeRatio</key>
        <real>1.2</real>
        <key>UNNotificationExtensionUserInteractionEnabled</key>
        <true/>
   <dict>
   ```
2. Select **MainInterface.storyboard** in the Content extension, remove the default label, and set the background color of the View to clear.

<img alt="main interface.png" src="https://mintcdn.com/moengage-doc-2298-s2s-type-case-sensitive/ybOMwHGZ8vUIop3W/images/moengage_2ae942.png?fit=max&auto=format&n=ybOMwHGZ8vUIop3W&q=85&s=a6eb13e220ebd75440b6fa97bab31e12" width="3360" height="1646" data-path="images/moengage_2ae942.png" />

3. *Check Build Phases in Main App Target.*
   * In Embed App Extensions/Embed Foundation Extensions, ensure that **Copy only when installing** is not selected.
   <img alt="copy install.png" src="https://mintcdn.com/moengage-doc-2298-s2s-type-case-sensitive/O1fssyAk4ZEc3adM/images/moengage_7f39a4.png?fit=max&auto=format&n=O1fssyAk4ZEc3adM&q=85&s=fc6cd629d92a28a71839897cb8f7095d" width="2740" height="930" data-path="images/moengage_7f39a4.png" />
4. *Ensure Consistent appGroupId Across Configurations.*
   * Verify that the **appGroupId** is consistent across all schemes and configurations (for example, Debug/Release/QA/UAT) in the project.
5. *Align Build Configuration.*

   * When running or archiving the project, make sure that the Build Configuration for the Main Target, Notification Service Extension, and Notification Content Extension Target points to the same scheme/configuration.

   <img alt="debug.png" src="https://mintcdn.com/moengage-doc-2298-s2s-type-case-sensitive/7nPxwiegGYQ2Fy2d/images/moengage_10faed.png?fit=max&auto=format&n=7nPxwiegGYQ2Fy2d&q=85&s=a522e7c3f658d0c948ff8540bd2a421d" width="1750" height="556" data-path="images/moengage_10faed.png" />

   <img alt="target.png" src="https://mintcdn.com/moengage-doc-2298-s2s-type-case-sensitive/O1fssyAk4ZEc3adM/images/moengage_805a55.png?fit=max&auto=format&n=O1fssyAk4ZEc3adM&q=85&s=cdc6638591f5b3c00426c1d0b31a5f3c" width="1832" height="446" data-path="images/moengage_805a55.png" />

   <img alt="duplicate.png" src="https://mintcdn.com/moengage-doc-2298-s2s-type-case-sensitive/ooFz7s6WTP3bsS1R/images/moengage_a717f9.png?fit=max&auto=format&n=ooFz7s6WTP3bsS1R&q=85&s=8bcfa0bea3ab320241408f734b77047c" width="1826" height="976" data-path="images/moengage_a717f9.png" />
