How can I detect when the StoreKit purchase dialog is in the foreground?

When the user selects an in-app purchase to buy, they are presented with the "Confirm Your In-App Purchase" screen.


When this happens, the app is still running (and getting GKController events) behind this screen. Is there a way of detecting when something is in front of our app? As far as I can tell our window is still key and visible, our view is still the top of the heirarchy, and the view controller is still the rootViewController. We also don't get any didResignActive events or anything else. Is there something I'm missing?

Accepted Reply

Just a note that this has been fixed in tvOS 9.0 beta 3.

Replies

No, I don't believe you are missing anything. Please file a bug at bugreporter.apple.com providing as much detail as possible.

Thanks, I have filed bug 22834029.

Just a note that this has been fixed in tvOS 9.0 beta 3.