iPhone/iPad 上 UIActivityIndicator 下的阴影
我想在动画 UIActivityIndicator 下创建阴影以显示其他 ui 元素处于非活动状态,例如键盘或警报视图下的阴影。最好的方法是什么?
I want to create shadow under animated UIActivityIndicator to display that other ui elements are inactive, like shadow under keyboard or alert-view. What is the best way to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
添加一个黑色背景且不透明度为 50% 的视图,如下所示:
Add a view with a black background and opacity to 50% with something like this :