如何在 Objective-C 中将模态背景颜色更改为透明 [英] How to change Modal background color to transparent in Objective-C

查看:27
本文介绍了如何在 Objective-C 中将模态背景颜色更改为透明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一个具有透明背景颜色的模态视图,以便用户可以看到它后面的视图.

I would like to have a modal view with a transparent background color, so that the view behind it can be seen by user.

推荐答案

iOS 在模态显示视图时不支持透明度.

iOS doesn't support transparency when presenting a view modally.

这篇关于如何在 Objective-C 中将模态背景颜色更改为透明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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