Hello everyone! Im stuck with my problem. Im just getting my coordinates like this (CLLocationCoordinate2D(latitude: 50, longitude: 100)) But I need to output to the label only (latitude: 50, longitude: 100).
coordinateLabel.text = "(location.coordinate)"-Im using this, but its printing all text
You need to use a backslash in front of the parenthesis:
coordinateLabel.text = "\(location.coordinate)"
1 Like