Open michael-chiu opened 4 years ago
I can only find a way to set the node frame to its UIView container bounds? but not vice versa. My thought is:
Any help would be appreciated. Thanks.
@michael-chiu did you ever figure this out? I'm running in to the same problem
Is there any example on adding Texture node to a UIView? I want to wrap a ASDisplayNode inside a UIView, and the content of ASDisplayNode is auto sized with autolayout constraint from the UIView container.
I know there is an addSubnode() method, but how can I set the UIView frame according to the node size??
Thanks a lot.