mskw
mskw

Reputation: 10358

How can an iOS 7 App make itself transparent to see a user's home screen image?

I've seen some apps for example (Vesper, or iPad's reminders app) make use of a user's home screen background image. How is that possible?

It must be some sort of clever trick to make a transparent View or Window or (Gulp!) Private API?

Anyone hazard a guess? enter image description here enter image description here

Upvotes: 25

Views: 8760

Answers (2)

Emma Labbé
Emma Labbé

Reputation: 697

iOS 13 beta 1 supports setting UIApplicationIsOpaque to NO in Info.plist. But, it’s not documented so it will maybe be removed or not allowed on the App Store.

Upvotes: 0

Simon
Simon

Reputation: 25993

I haven't tried it myself, but I hear that the private method [[UIApplication sharedApplication] _setApplicationIsOpaque: NO] may do what you're after.

Upvotes: 13

Related Questions