Does iPhone/ipad automatically save the coordinate when the user take a photo.
(Error: expected '?', found '.'
...)
Well, this depends on whether the user has enabled this function. If the Photo app doesn't have permission to access the location of the user, then it doesn't geotag the images. Otherwise it does.