Playing GIF using GIFU library in SceneKit causes app UI freeze any solution? UIView Animated being called from a background thread

后端 未结 1 1516
长发绾君心
长发绾君心 2021-01-28 05:28

I\'m doing image tracking using AR Kit, once image is detected i\'m playing GIF with GIFUhttps://github.com/kaishin/Gifu library. This is successful with below code.

In

1条回答
  •  天涯浪人
    2021-01-28 06:27

    Issue got fixed.

    we have to add imageView layer to the SCNMaterial()

    imgMaterial.diffuse.contents = self.imageView.layer
    

    Thanks for your response.

    0 讨论(0)
提交回复
热议问题