ラベル uiImage の投稿を表示しています。 すべての投稿を表示
ラベル uiImage の投稿を表示しています。 すべての投稿を表示

2020年2月1日土曜日

How to open picture with UiImage in Swift playgroud.

How to open picture with UiImage in Swift playgroud.


  1.  Open navigator side panel. 
  2.  See there are Sources and Resources folder.  select Resources
  3.  click + button at the bottom and choose add file to Resources
  4.  choose the image file 
  5.  use it on playground . ex 
    let uiImage = UIImage(named:  "testImage.jpg")