ๅจ Swift Playground for iPad ๅ งไฝฟ็จ๏ผ
#imageLiteral(resourceName: imgName)
็ฎๅๅพๅฐ็ๅๆชๅๅฅ้ๆฏ UIImage๏ผๆไปฅๅฟ ้ ๅฉ็จไธ้ข็ๆนๅผๅ่ฝไธๆใ
import SwiftUI // usage: `Image(playground: "hokaido.png")` extension Image { public init(playground imgName: String) { self.init(uiImage: #imageLiteral(resourceName: imgName)) } }
view.watermark()
Last updated 3 months ago
Was this helpful?