如何添加用户到后台应用程序在iOS的7半透明的背景? [英] How can I add the user background into the app as a translucent background in iOS 7?

查看:259
本文介绍了如何添加用户到后台应用程序在iOS的7半透明的背景?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道,如果可能,让用户设定背景为搭载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.

推荐答案

在plist中集 UIApplicationIsOpaque NO (假的),然后设置, self.window.opaque = NO self.window.backgroundColor = UIColor.clearColor

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.

我要警告你,它就像一个魅力,但不少开发商都遇到了问题,该物业的plist不被验证,解决方案还没有找到/贴呢。因此,对于个人应用它很酷,提交的应用程序,你可能要等待或者可能只是不适合现在就做。

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.

这篇关于如何添加用户到后台应用程序在iOS的7半透明的背景?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆