RC1.20
ANAdProtocol landingPageLoadsInBackground
Control the SDK’s behavior when an ad is clicked. The default behavior (YES) is to load the landing page in the background until the initial payload finishes loading and present a fully rendered page to the user. Setting this to NO will cause the in-app browser to immediately become visible and display the unrendered landing page. Note that setting this to NO when an ad redirects to the app store may cause the in-app browser to briefly flash on the screen.
ANAdProtocol setLocationWithLatitude:longitude:timestamp:horizontalAccuracy:precision:
Provide a precision parameter when passing a user’s location from a CoreLocation instance that will cause all location information to be internally rounded to the specified number of digits after the decimal before being passed to the ad server. The nominal resolution of digits after the decimal to distance is 2 digits ~1 km, 3 digits ~100m, 4 digits ~10m. If set to -1, then full resolution is passed.
ANBannerView (ANBannerViewAdAlignment) alignment
Override the alignment of the ad unit within the banner view, in the event the banner view frame is larger than the ad. The default alignment is ANBannerViewAdAlignmentCenter. Set this property to align the ad to the top left, top center, top right, center left, center right, bottom left, bottom center or bottom right.
Other Feature Additions:
Amazon mediation adapters
Adopted Objective-C Modern Best Practices in Public APIs
Simple banner app
Bug fixes:
Removed support for DFP Swipeable Banner, a deprecated API.
MRAID viewability timer reference set to strong
ANWebView delegate set to nil on dealloc
3rd party SDK updates:
MoPub 3.0.0
Amazon 2.1.2
Google 6.12.0
FB Audience Network 3.18.2
Millennial Media 5.4.1
Minimum deployment target iOS 6.0
Notes:
To enable Amazon monetization app must register itself with Amazon when your applications starts in your main app delegate
#include “ANAdAdapterBaseAmazon.h”
…
[ANAdapaterBaseAmazone setAmazonAppKey: “YOUR APP KEY”];