更改UIPopover背景 [英] Change UIPopover background

查看:60
本文介绍了更改UIPopover背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更改弹出框的边框.它只是纯色,因此不需要图像.有没有可以利用的属性,或者我必须继承?

I'm looking to change the popovers border. It's just a solid flat color, so no image required. Is there a property that I can tap in to, or will I have to subclass?

推荐答案

不支持更改通过UIPopoverController显示的弹出窗口的外观.我什至不会尝试,因为您可能需要对UIPopoverController进行反向工程,而后又在后续的软件更新中将其中断.

Changing the look of a popover being shown via a UIPopoverController isn't supported. I wouldn't even try, as you may do a lot of work to reverse-engineer UIPopoverController, only to have it break in a subsequent software update.

这篇关于更改UIPopover背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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