如何创建透明的通知窗口? [英] How to create transparent notification window?

查看:28
本文介绍了如何创建透明的通知窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不确定正确的名称,但我想知道如何(在 Objective-C 中)创建一个透明的通知窗口/面板",例如在您更改音量强度或键盘照明时显示的信息,或显示亮度.我想把我自己的图标/文字放在上面,作为我自己的通知.我不知道谷歌的词,所以我在这里问.感谢您的任何建议.

I'm not sure of the correct name, but I am wondering how to create (in Objective-C) a transparent notification "window/panel", such as is shown when you change the volume intensity, or keyboard illumination, or display brightness. I want to put my own icon/text on it, for my own notification. I don't know the words to Google for, so I'm asking here. Thanks for any suggestions.

推荐答案

Matt Gemmell 的 RoundedFloatingPanel 组件 在他的示例代码页 可以满足您的需求.

Matt Gemmell's RoundedFloatingPanel component on his sample code page may do just what you're looking for.

这篇关于如何创建透明的通知窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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