Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. var speed: CLLocationSpeed = CLLocationSpeed()
  2. speed = location.speed * 2.23694
  3.  
  4.  
  5. if location.speed < 1 {
  6. speedLabel.text = "0"
  7. }
  8. else {
  9. speedLabel.text = "(speed)"
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement