I'm trying to present the App Store sheet from inside my app:
https://gist.github.com/valeIT/bf9b357d8ef470fc559c
My ViewController conforms to SKStoreProductViewControllerDelegate. It seems like the problem is in "loadProductWithParameters" since I've tried calling presentViewController from outside the completion block and it presents and dismisses just fine, just it's completely empty (a white screen). I've tried passing as dictionary both a string or an nsnumber but nothing changes. Any idea?
I know this is question crazy old, but I'm having the same problem.
The only part of your gist that looks off is that, according to the docs, the value to
SKStoreProductParameterITunesItemIdentifier
should be of typeNSNumber
but you have supplied aString
. Try changing it toand see if that works.