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")



0 件のコメント:

コメントを投稿