Last active
April 8, 2017 06:51
-
-
Save hsylife/693f2bcb6d0d6c129a6bafc35ef76a68 to your computer and use it in GitHub Desktop.
AdMobの動画広告の音量制限の実装方法 ref: http://qiita.com/hsylife/items/f34d5ca42043f3a680f5
This file contains 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
- (void)viewDidLoad { | |
[super viewDidLoad]; | |
// Set app volume to be half of the current device volume. | |
GADMobileAds.applicationVolume = 0.5; | |
... | |
} |
This file contains 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
GADMobileAds.sharedInstance.applicationVolume = 0.5; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment