We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5bb4740 + 28c37ed commit 66b9fccCopy full SHA for 66b9fcc
Source/Ejecta/EJUtils/EJBindingAdBanner.m
@@ -22,6 +22,9 @@ - (void)createWithJSObject:(JSObjectRef)obj scriptView:(EJJavaScriptView *)view
22
? ADBannerContentSizeIdentifierLandscape
23
: ADBannerContentSizeIdentifierPortrait),
24
nil];
25
+ if( landscape ) {
26
+ banner.currentContentSizeIdentifier = ADBannerContentSizeIdentifierLandscape;
27
+ }
28
29
[scriptView addSubview:banner];
30
NSLog(@"AdBanner: init at y %f", banner.frame.origin.y);
0 commit comments