Closed alexbartisro closed 6 years ago
Try it with annotation views from demo project, if I remember correctly the width of annotation views is important due to stack calculations etc. Try to set fixed width. If you have sample project with your POIs and everything you can send it so I'll check it out.
I don't recommend using autolayout since it impacts performance.
It was actually a performance issue which I solved by dropping autolayout https://stackoverflow.com/questions/53025175/programmatically-create-uiview-with-size-based-on-subviewslabels
https://streamable.com/s/4zusq/dvbgnb
In the attached video you can see that the views glitch when moving the camera around. I would fix this in the framework, it's just that I don't have any idea where to start debugging.
Here's my code for when I create the ARViewController
and for creating the AnnotationView