Swift如何调用Assets.xcassets中的image
-
界面选择方式
-
- 代码方式
let video1 = Video(
image: UIImage(imageLiteralResourceName:"000_home.jpg"),
title: "Your First App"
)
界面选择方式
let video1 = Video(
image: UIImage(imageLiteralResourceName:"000_home.jpg"),
title: "Your First App"
)