MPMediaItemArtwork and transparency
Asked Answered
M

1

9

While trying to obtain a transparent cover image on iPhone lock screen I got white background where it should be transparent.

Is it possible to use image with alpha channel for MPMediaItemArtwork at all? I found nothing about it in the official docs.

enter image description here

Meet answered 7/4, 2014 at 19:59 Comment(4)
Any update with this?Seaside
No, nothing. I've ended up using image with solid background.Meet
yes I also changed image with solid background.Orizaba
We also ended up using a solid background.Depredation
M
0

The short and frustrating answer is No – it is not possible to set an MPMediaItemArtwork with transparency for iOS9 or earlier.

Mcneal answered 14/7, 2016 at 10:46 Comment(1)
Still an issue with iOS 13, btw.Said

© 2022 - 2024 — McMap. All rights reserved.