Labels blocking eachother when close together
I am writing an IOS app where there are labels in the mid point of each line segments. When the line are short the labels become clumped they block eachother.
The reason that I'm putting it in the middle of each line is because the label is going to show info about their respective line. How can I deal with the case that the labels are close together so they don't block eachother?