title: How to get Local Currency for SKProduct | Display IAP Price in Swift
body: <p>I am trying to display the price of an in app purchase using the local currency, so the correct dollar is displayed for both US &amp; CA as well as Euro, GBP etc. </p>
  
  <p>I know each SKProduct has a price which appears during the transaction as an alert view, this appears when confirming the purchase. </p>
  
  <p>However I want to display the price before confirmation. </p>
  
  <p>I was thinking to do something like this: </p>
  
  <pre><code>//Products Array
  var productsArray: Array&lt;SKProduct!&gt; = []
  
  //Request Products
      func productsRequest(request: SKProductsRequest, didReceiveResponse response: SKProductsResponse) {
          if response.products.count != 0 {
              for product in response.products {
                  print("\(product.localizedTitle)")
                  productsArray.append(product)
              }
          }
          else {
              print("There are no products.")
          }
  
          if response.invalidProductIdentifiers.count != 0 {
              print("\(response.invalidProductIdentifiers.description)")
          }            
       }
  
  
  let item = SKProduct
    for i in productsArray {
      if i.localizedTitle == "com.Company.App.item1" 
        item = i
      }
    }
  </code></pre>
  
  <p>But this doesn't work as <code>i</code> Doesn't seem to have a price property.</p>
  
  <p>Does anybody know how I can set a label text to the price of an iAP using the correct local currency? </p>
  
  <p>For example £1.49 GBP is $1.99 US dollars using Apples Pricing Matrix and outputting the value should match the values of the product price when confirming the transaction. </p>