Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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 hereenter image description here

like image 304
mskw Avatar asked Sep 26 '13 03:09

mskw


People also ask

How do I make the background of an app transparent?

Click on the color box at the right of the text field under “Background color”. Select a color and move the arrow on the opacity bar with the checkered design to adjust transparency. Scroll it all the way to the left to make it completely transparent.

How do I make a widget see through?

Go to Settings and choose Widget transparency. Tap the percentage degree you want.


1 Answers

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

like image 143
Simon Avatar answered Sep 29 '22 15:09

Simon