如何添加背景图片 [英] How to add a background image

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

问题描述

我在情节提要上有一个图像视图,当我尝试将其用作背景时.不管我做什么,它始终处于最重要的位置.我将如何更改它以使其成为背景图像,所以我不在乎天气是通过快速还是其他方式以编程方式进行.

I have a Image View on my storyboard, and when I am trying to use it as a background. No matter what I do, it always stays on top. How would I change it so that it would be a background image, I don't care weather I do it programmatically through swift or through another way.

推荐答案

通过上下移动任何项目,您可以设置其图层状态.第一个出现在后面,然后第二个出现在第一个上,然后....最后一个出现在最上端.

By moving any of item up/down you can set their layer state. The first one will be on back then second will appear on the first one then.... last one will appear on top most.

我希望这会对您有所帮助.

I hope this will help you.

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

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