有没有办法更改使用 UIPopoverViewController 加载的弹出视图的背景和默认框架?
(1)尝试更改弹出框背景的框架颜色但没有发生...有什么方法可以更改它吗?
(2) 尝试删除弹出窗口的子层并替换为其他层,这能够删除默认框架,但应用程序在关闭弹出窗口时崩溃。
(3) 有没有办法隐藏图层并将背景颜色更改为clearColor?layer.hidden=yes;
不起作用。
layer.backgroundColor = [[UIColor clearColor] CGColor]
// is not working but its working for other colors like blueColor
(1) Trying change the frame color of popover Background but its not happening... Is there any way to change it?
(2) Have tried removing the sublayer of popover and replacing with other layer with this was able to remove the default frame but the application crashes while dissmising the popover.
(3) Is there any way to hide a layer and changing background color to clearColor?layer.hidden=yes;
is not working.
layer.backgroundColor = [[UIColor clearColor] CGColor]
// is not working but its working for other colors like blueColor
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论