Tuesday, March 8, 2022

[SwiftUI][solved] command-click not show menu with "Show SwiftUI Inspector"

i am a newbie to swiftUI and using Xcode version 13.2.1 and follow the official tutorial, use command-click the text "Hello world" but won't show the menu with option item "Show SwiftUI Inspector"in preview and it would auto select and highlight the code segment in code view.

tutorial instruction:

Finally i found alt-click work, but not use the command-click as the instruction said.


reference: 

https://developer.apple.com/tutorials/swiftui/creating-and-combining-views

https://developer.apple.com/documentation/xcode/creating-your-app-s-interface-with-swiftui

No comments :

Post a Comment