You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UILabel Preview Example in project SwiftUIKitExample.xcodeproj does not work.
UILabel()// <- This is a `UIKit` view..swiftUIView(layout:.intrinsic)// <- This is a SwiftUI `View`..set(\.text, to:"Hello, UIKit!")// <- Use key paths for updates..fixedSize()// <- Make sure the size is set.previewLayout(.sizeThatFits).previewDisplayName("UILabel Preview Example")}
Expected to see the text "Hello, UIKit!" but that text is not visible in the preview :(
Screen.Recording.2022-10-04.at.11.43.59.AM.mov
Tested with Xcode 14.0.1 and iPhone 13 (iOS 16) simulator
The text was updated successfully, but these errors were encountered:
UILabel
Preview Example in projectSwiftUIKitExample.xcodeproj
does not work.Expected to see the text "Hello, UIKit!" but that text is not visible in the preview :(
Screen.Recording.2022-10-04.at.11.43.59.AM.mov
Tested with Xcode 14.0.1 and iPhone 13 (iOS 16) simulator
The text was updated successfully, but these errors were encountered: