-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add some features for EJBindingAdBanner #351
base: master
Are you sure you want to change the base?
Conversation
this pull request is for #350 |
change false to NO for Ejecta's style
in iOS 6 later, Apple supplies a new Ad type: I integrated it in ejecta like this: // type="rect", "rectangle" "MediumRectangle" will use ADAdTypeMediumRectangle. |
supports "ADAdTypeMediumRectangle"
supports "ADAdTypeMediumRectangle"
add try...catch for rect-iAd
the String argument is ugly , maybe create a function for Rect-iAd is a better way. Ejecta.AdPanel=function(){ |
@phoboslab , my game has use this one, I think its no problem. You can see it in Beside You ( the iAd only displayed in Pause Page and Help Page) in my case , I used
|
add click and finsih event, for tracking user's click-life
adBanner.alwaysPortrait : if true force the iAd to be Portrait mode, or iAd to be auto mode
adBanner.isAtRight: if use "Portrait iAd" in Landscape device, let ad align to right
adBanner.x : get/set Position X
adBanner.y : get/set Position Y
adBanner.width (readOnly) return the adBanner's real size ( banner.frame's size)
adBanner.height (readOnly) return the adBanner's real size ( banner.frame's size)