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
When I use the LocationAnnotationNode(location:view:) constructor, the view.image extension does not capture subviews such as labels when converting to UIImage.
For some reason (and I am not entirely sure why), this problem goes away when I call view.addSubview(cardView), but this also adds a new view to the window.
Summary
When I use the
LocationAnnotationNode(location:view:)
constructor, theview.image
extension does not capture subviews such as labels when converting to UIImage.For some reason (and I am not entirely sure why), this problem goes away when I call
view.addSubview(cardView)
, but this also adds a new view to the window.Code
Without addSubview
After addSubview
The text was updated successfully, but these errors were encountered: