title: get the value of x and y of UILabel?
body: <p>I want to get the location of UILabel programatically. How can I do it, i.e. get the x and y of UILabel?</p>
  
  <p>I tried <code>textAlert.center.y</code> or <code>textAlert.center.x</code> (<code>textalert</code> is the name of UILabel).</p>