slow drawing of large amount of lines on IOS.


My app is stuttering because of a large amount of lines I must constantly update. the arrays are made of geolocations. What is the fastes way to draw lines on IOS? I’ve allready tried making just a ofLine,tried ofmesh and updating the points ( had to tesselate to make visible), ofPolyLine too slow, etc.

Is there a way to update the position of the lines?
Threading maybe a solution?

Is the app slow because of the update to the lines or the drawing of the lines?

It’s the updating of the lines. The coordinates of the polygons are changing when the app is used.

Can you post some sample code?