How to open picture with UiImage in Swift playgroud.
- Open navigator side panel.
- See there are Sources and Resources folder. select Resources
- click + button at the bottom and choose add file to Resources
- choose the image file
- use it on playground . ex
let uiImage = UIImage(named: "testImage.jpg")
0 件のコメント:
コメントを投稿