diff --git a/Source/Ejecta/EJUtils/EJBindingAdBanner.m b/Source/Ejecta/EJUtils/EJBindingAdBanner.m index 0d5c9ca7..b576b97a 100644 --- a/Source/Ejecta/EJUtils/EJBindingAdBanner.m +++ b/Source/Ejecta/EJUtils/EJBindingAdBanner.m @@ -22,6 +22,9 @@ - (void)createWithJSObject:(JSObjectRef)obj scriptView:(EJJavaScriptView *)view ? ADBannerContentSizeIdentifierLandscape : ADBannerContentSizeIdentifierPortrait), nil]; + if( landscape ) { + banner.currentContentSizeIdentifier = ADBannerContentSizeIdentifierLandscape; + } [scriptView addSubview:banner]; NSLog(@"AdBanner: init at y %f", banner.frame.origin.y);