简体   繁体   English

如何在全屏上设置演示文稿以在iOS 7中显示半透明视图

[英]how to set presentation over fullscreen to show translucent view in iOS 7

1- i have set my view background color to " clear color " 1-我将视图背景色设置为“透明色”

2- and also give the class of my view to -> "ILTranslucentView" ( which 3 makes my view translucent and shows the behind view blur ! 2-,然后将我的视图类提供给->“ ILTranslucentView”(这3使我的视图变为半透明并显示后面的视图模糊!

3- and also i have a segue which is present as modally and presentation has set to "over full screen" . 3-还有我有一个segue,它以模态形式显示,并且显示设置为“全屏显示”。

these 3 steps makes my view show as translucent and the behind view is blur at the background. 这三个步骤使我的视图显示为半透明,而后面的视图在背景上模糊。

BUT !! 但是! all works in iOS 8 + . 都可以在iOS 8以上版本中使用。 in IOS 7 is not working and showing my view as it has a clear color and it does not find out that it should be present as "over full screen" 在IOS 7中无法正常工作并显示我的视图,因为它具有清晰的颜色,并且没有发现它应该显示为“全屏显示”

is is not supported in iOS 7 ? iOS 7不支持? or should I have to do it by another way ? 还是我应该通过另一种方式来做?

iOS 7不支持此功能,也许您可​​以使用自定义segue

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM