Does swift playground support UIKit?

前端 未结 10 1185
花落未央
花落未央 2020-12-07 23:54

I tried to create a UILabel in playground but failed. Does playground only support OS X development for now?

10条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-08 00:38

    please use Command (⌘) + Option(⌥) + 1 combination to switch to iOS platform from OSX in playground to use UIKit .

提交回复
热议问题