Ver código fonte

Make localizedIntroductoryPrice available on tvOS 11.2

Andrea Bizzotto 7 anos atrás
pai
commit
21d8f9c203
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      SwiftyStoreKit/SKProduct+LocalizedPrice.swift

+ 1 - 1
SwiftyStoreKit/SKProduct+LocalizedPrice.swift

@@ -31,7 +31,7 @@ public extension SKProduct {
         return formattedPrice(price: price, locale: priceLocale)
         return formattedPrice(price: price, locale: priceLocale)
     }
     }
 
 
-    @available(iOS 11.2, OSX 10.13.2, *)
+    @available(iOS 11.2, OSX 10.13.2, tvOS 11.2, *)
     public var localizedIntroductoryPrice: String? {
     public var localizedIntroductoryPrice: String? {
         guard let introductoryPrice = introductoryPrice else {
         guard let introductoryPrice = introductoryPrice else {
             return nil
             return nil