Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经创建了这个代码给我一个图像,但我不想使用 png 或 jpg 文件。我想知道如何使用类似的代码,但使用 SVG 图像文件
let iconImageView: UIImageView = { let imageView = UIImageView() imageView.image = imagem return imageView }()