title: How do I add a degree symbol as part of a UILabel in iPhone development?
body: <p>I have added the degree symbol to my UILabel but when the app runs it disappears.  I am creating a weather app so it is important that it is formatted correctly.
  This is the code I have once the ViewController has loaded.</p>
  
  <pre><code> override func viewDidLoad() {
      super.viewDidLoad()
      cityLabel.text = city
      userEnteredNewCityName(city: city)
      // Do any additional setup after loading the view.
  }
  </code></pre>
  
  <p>Here is the code that updates the ViewController</p>
  
  <pre><code>func updateWeatherData(json: JSON) {
      if let tempResult = json["main"]["temp"].double {
          weatherDataModel.temperature = Int(tempResult - 273)
          weatherDataModel.city = json["name"].stringValue
          weatherDataModel.condition = json["weather"][0]["id"].intValue
          weatherDataModel.weatherIconName = weatherDataModel.updateWeathericon(condition: weatherDataModel.condition)
  
          updateUIWithWeatherData()
      } else {
          cityLabel.text = "No data available"
      }
  
  }
  
  func userEnteredNewCityName(city: String){
      let params : [String : String] = ["q" : city, "appid" : APP_ID]
      getWeatherData(url: WEATHER_URL, parameters: params)
  }
  
   //Write the updateUIWithWeatherData method here:
  
  
  func updateUIWithWeatherData() {
      cityLabel.text = weatherDataModel.city
      temperatureLabel.text = String(weatherDataModel.temperature)
      weatherIcon.image = UIImage(named: weatherDataModel.weatherIconName)
  }
  </code></pre>
  
  <p>Any help would be appreciated.<a href="https://i.stack.imgur.com/aMUNp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aMUNp.png" alt="enter image description here"></a></p>