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

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -