title: How get user location using iOS geolocation framework
body: <p>I am looking to make an "If" statement, whereby I'm using the user's geolocation to create an outcome.  I do not know how to do this.</p>
  
  <p>For example:</p>
  
  <pre><code>If (USERLOCATION = CANADA) {
  
  //then do something here
  
  }
  
  Else {
  //do something else
  }
  </code></pre>