Created
June 26, 2017 02:17
-
-
Save ArchieR7/a2e6b1bad4e1d68751f5e0204bfb0c81 to your computer and use it in GitHub Desktop.
Check AdMob is ready
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if GADRewardBasedVideoAd.sharedInstance().isReady { | |
GADRewardBasedVideoAd.sharedInstance().present(fromRootViewController: self) | |
} else { | |
//do something | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment