I'm getting following crash while opening a context menu in
LazyHStack item inside of LazyVStack: "Terminating app due to uncaught
exception 'NSInternalInconsistencyException', reason: 'UIPreviewTarget
requires that the container view is in a window, but it is not.
(container: <SwiftUI.HostingScrollView: 0x106876400>)'".
Anyone can help me out how to avoid this crash issue ?
Post
Replies
Boosts
Views
Activity
Some strange visual artifacts appeared in my app after updating Xcode to 16.0. The old version of the app was built with Xcode 15.x and working fine without any visual artifacts, but for the latest release I've used Xcode 16.0 and some strange visual artifacts appeared in LazyVStack on iOS 18.x.
https://www.veed.io/view/828ed62c-a8ee-4102-846c-55b28a7f4b74?panel=share
Anyone can help me with a fix or workaround ?