Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var speed: CLLocationSpeed = CLLocationSpeed()
- speed = location.speed * 2.23694
- if location.speed < 1 {
- speedLabel.text = "0"
- }
- else {
- speedLabel.text = "(speed)"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement