Dont know how to display temperature in Celsius on xcode. thanks

  • 1
  • Question
  • Updated 5 years ago
need celsius, dont know how to show. please help
Photo of dienasri


  • 1 Post
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of afelicioni


  • 227 Posts
  • 42 Reply Likes
it depends about called feature and used code. in theory you should able to get metric units instead of imperial ones since both are returned in almost every response.
focusing on temperature, you just need to reference to a field containing a "f" to the one with "c": for example in conditions feature from "temp_f" to "temp_c".