I'm implementing a payment ViewController, where I want to present a loading view (spinner), whenever StoreKit is fetching some data. I add the loading view when the "Purchase" button is clicked, and removes it when func productsRequest(request: SKProductsRequest, didReceiveResponse response: SKProductsResponse)
is called.
The problem is that the loadingView is still running while the "Sign In to iTunes Store" (among others) is still shown. Is there any way that I can get/override the completion block of the Apple generated UIAlertControllers?