I'm facing with the same issue. if the Game Center is opened, the pointer is released automatically. but for the purchase popup... not. calling setNeedsUpdateOfPrefersPointerLocked has seems no effect. the player can't make purchase, or click the X after the ads due to this issue. (command+tab can release the pointer)
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: