How can I get a transparent background in my iOS app so I can see the Home Screen wallpaper?

前端 未结 3 852
被撕碎了的回忆
被撕碎了的回忆 2020-12-01 13:35

I’m fairly sure this is going to be straight forward in that it’s probably not possible.

Basically, I’d like to be able to lightly see the background wallpaper throu

3条回答
  •  我在风中等你
    2020-12-01 13:55

    Good news. From iOS 13, the background transparency can finally be enabled for all third-party apps. It’s no longer a private API.

    In your app’s Info.plist file, set the boolean value for UIApplicationIsOpaque to NO.

    And now the user’s wallpaper is visible inside your app.

提交回复
热议问题