2

Here is my code: It removes the nodes, but the memory is still around 200MB

self.sceneView.scene.rootNode.enumerateChildNodes { (node, _) in
   if node.name == path! {
       node.removeFromParentNode()
   }
}
Christian Gollhardt
  • 16,510
  • 17
  • 74
  • 111
DAWID
  • 79
  • 6

0 Answers0