SwiftUI Inspector gone in Project

前端 未结 2 1418
轮回少年
轮回少年 2021-01-21 20:34

In one of my Xcode projects, the SwiftUI Inspector won\'t show anymore.

Example:

When I create a new project, I have the inspector:

Any idea wh

相关标签:
2条回答
  • 2021-01-21 20:39

    XCode 12 Update

    Even after enabling the Canvas if the inspect option is not showing up because, Its been renamed to Show SwiftUI Inspector

    Canvas https://i.stack.imgur.com/BmpVW.png

    Editor https://i.stack.imgur.com/D74Ml.png

    0 讨论(0)
  • 2021-01-21 20:55

    You must have Canvas opened to have SwiftUI context menu items in Editor (including SwfitUI Inspector)

    Activating canvas

    0 讨论(0)
提交回复
热议问题