ios - SKStoreProductViewController not showing anything -


i'm trying present app store sheet inside app:

https://gist.github.com/valeit/bf9b357d8ef470fc559c

my viewcontroller conforms skstoreproductviewcontrollerdelegate. seems problem in "loadproductwithparameters" since i've tried calling presentviewcontroller outside completion block , presents , dismisses fine, it's empty (a white screen). i've tried passing dictionary both string or nsnumber nothing changes. idea?

i know question crazy old, i'm having same problem.

the part of gist looks off that, according docs, value skstoreproductparameteritunesitemidentifier should of type nsnumber have supplied string. try changing to

vc.loadproductwithparameters([skstoreproductparameteritunesitemidentifier : nsnumber(value: 364709193)] 

and see if works.


Comments

Popular posts from this blog

xslt - Substring before throwing error -

Google Cloud Bigtable Durability/Availability Guarantees -

Android M doze mode and "native" posix socket freezing up -