Dear CoronaSDK team,
I am having a problem with my app in that when the user rapidly taps the play button over and over again, the game crashes when hiding the advertisement using
admob.hide()
Here is a video of the crash occurring: https://youtu.be/UgMgdi1AwrQ
Below is the error message that I receive in the CoronaSDK console. How can I resolve this issue?
[Device] Task <C80F5E1C-6B0A-4E7C-853F-5B9A9264D738>.<0> sent request, body N
[Device] *** Terminating app due to uncaught exception ‘NSGenericException’, reason: ‘Unable to activate constraint with anchors <NSLayoutXAxisAnchor:0x1c066d7c0 “GADBannerView:0x100f18a40.centerX”> and <NSLayoutXAxisAnchor:0x1c047ce00 "UILayoutGuide:0x1c01b1800’UIViewSafeAreaLayoutGuide’.centerX"> because they have no common ancestor. Does the constraint or its anchors reference items in different view hierarchies? That’s illegal.’
Sincerely,
Wes