dmsurti / AssimpKit

A library (macOS, iOS) that converts the files supported by Assimp to Scene Kit scenes.
http://assimpkit.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
477 stars 54 forks source link

[UIView setScene:]: unrecognized selector sent to instance 0x101906830 #111

Open Wayxq opened 6 years ago

Wayxq commented 6 years ago

hi, image

f18298335152h commented 4 years ago

I meet the same error , can you tell me, what can i do ? thanks

anton-plebanovich commented 4 years ago

Your controller view should be of type SCNView but it just an ordinary UIView. You can correct it by editing your storyboard/xib

f18298335152h commented 4 years ago

can you show me the code ? you mean i must init a SCNView then use the button to other SCNView. thanks.

anton-plebanovich commented 4 years ago

Please check Main.storyboard

Screen Shot 2020-04-02 at 13 03 11