Alerts will not show on iPad #8

Closed
vonswanko opened this Issue Jan 6, 2011 · 2 comments

Projects

None yet

3 participants

@vonswanko

Added all code to an universal iOS app. The alert shows no problem on the iPhone/iPod Touch, but will not show on iPad. Any ideas?

@memmons
memmons commented Jan 11, 2011

There is a bug in the code. If multitasking is supported, this method does nothing:

+ (void)appLaunched:(BOOL)canPromptForRating

So, when you launch the app, appLaunched simply returns without incrementing or checking the current counts and this method is never called:

+ (void)appEnteredForeground:(BOOL)canPromptForRating

This also means that if you are running in the simulator, where you typically build and run the app -- thus the app never enters the background -- then you will never see the dialog, even if you have DEBUG turned on.

@arashpayan
Owner

Unable to repro

@arashpayan arashpayan closed this Nov 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment