Today we’re announcing the release of beta version 13 of the IMA SDK for iOS. This release includes two new major features:
Prior to today’s release, importing the SDK involved manually adding every header file to your project, importing every header file individually in your source, and manually including the required frameworks. With the new framework model, you can add a single .framework file to your app and replace all of your header import source lines with a single import statement.
If you use CocoaPods, your build will fail after you update to beta 13. But fear not, you can fix this in a matter of seconds with the following steps:
#import “IMA<something>.h”
@import GoogleInteractiveMediaAds;
If you don’t use Cocoapods, your path to upgrade is slightly different. You can update using the following steps:
GoogleInteractiveMediaAds.framework
Since our launch, one of the most requested features has been background ad playback. Suppose, for example, you author a music streaming app, and you want to be able to request and play ads in the background. With today’s release, however, we now support requesting and playing ads in a background service. For more info and implementation instructions, see our Background Ad Playback guide.
As always, if you have any questions feel free to contact us via the support forum.