开发者

in app purchase pop-up is clickable even when 'beginIgnoringInteractionEvents" is active

开发者 https://www.devze.com 2023-04-03 16:39 出处:网络
I\'m showing custom indicator when user clicks a button to purchase an in-app item. The custom indicator calls \'beginIgnoringInteractionEvents\' on init.

I'm showing custom indicator when user clicks a button to purchase an in-app item.

The custom indicator calls 'beginIgnoringInteractionEvents' on init.

However the apple provided in-app-purchase popup(to show item name/price) is still touchable.

Well, that's all good, but I tried a开发者_JAVA技巧dding another UIAlertview on the process(after user confirms the purchase and apple validates it), because the purchase process takes a while and it just seems boring with only being able to see indicator spinning.

Now the problem is, the UIAlertView I added is not touchable.

How is apple's alertview(in-app-purchase pop-ups) touchable and not mine?


The in app purchase box seems to count as a different process, separate from your app as it calls applicationDidBecomeActive: and applicationWillResignActive: similar to the text message box.

This would explain why it can receive touches, but views internal to your app can't

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号