App icon is not showing in CallKit UI

前端 未结 1 835

I have configured my Provider Configuration for CallKit iOS. In which I have also set \'iconTemplateImageData\' for displaying app icon in CallKit UI. But a

相关标签:
1条回答
  • 2021-01-05 16:11

    This is likely because you are using your AppIcon image, which is a fully opaque image, i.e. no part of that image is transparent or has alpha=0.

    To get the desired effect, you have to use a different image which is partly (or mostly) transparent. The native in-call UI will only use the alpha channel of the image you provide, so it ignores colors. I suggest following the example in the Speakerbox sample app and providing a secondary PNG image in your image asset catalog with transparency.

    0 讨论(0)
提交回复
热议问题