The word distance between two GPS coordinates is well defined.
It is the shortest distance (along the great circle on a sphere) between two points on earth.
Also called line of sight distance. (But this explanation is not perfect since the earth is aproximated as sphere)
It has nothing to do with road distance, etc.
Whether or not you made a u-turn, has nothing to do with the term distance.
About U-Turn: You probably mean the length of the path you walked/drove between start and end point. But this is the trip distance or road distance, or route distance. Sometimes for simplicity abreviated with distance.
From the context it depends what is meant with distance.
The ios Location API delivers the great circle distance between two points. (Probably calculated with the haversine formula)