Patricio Guerra
Patricio Guerra

Reputation: 2277

How can I add the user background into the app as a translucent background in iOS 7?

I want to know if its possible to have the user set background as the actual app background in iOS 7; similarly to how Newsstand gives the user background as a translucent element when one doesn't have any magazines set in it.

Upvotes: 3

Views: 1799

Answers (1)

Travis
Travis

Reputation: 21

In the plist set UIApplicationIsOpaque to NO (false), then set, self.window.opaque = NO and self.window.backgroundColor = UIColor.clearColor.

Lastly set all view controllers you want to show background to default color (clear), this will show the background not give it the blur effect, that's a different story.

I will warn you, it works like a charm, but a lot of developers are experiencing an issue, that plist property is not being validated and a solution hasn't been found/posted yet. So for personal apps it's cool, for submitting apps you might have to wait or possibly just not do it for now.

Upvotes: 2

Related Questions