如何在iOS中设置线性渐变到LaunchScreen.xib的背景
问题描述:
有什么方法可以在iOS中将线性渐变设置为LaunchScreen.xib的背景吗?像background="linear-gradient(#000000, #123456)"
?如何在iOS中设置线性渐变到LaunchScreen.xib的背景
<view contentMode="scaleToFill" background="...">
<rect key="frame" width="753" height="867"/>
</view>
答
不能在LaunchScreen添加自定义代码,所以替代实现这一目标是使用的ImageView