Skip to content

仿滴滴/Uber 的启动之后再控制器上面弹出多个广告,带删除按钮的动画绘制,,, 也可以做自定义弹窗使用,,如无限循环广告,app 相关短片介绍的播放,,产品广告图,产品广告链接,---用法简单,(void)showInView:(UIView *)view image: (UIImage *)image;(默认 UIIMAGEVIEW 做为 adview,),, 其他的页面设计直接 设置 adview = xx 就 ok

License

Notifications You must be signed in to change notification settings

tpctt/DesktopADView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DesktopADView

image

仿滴滴/Uber 的启动之后再控制器上面弹出多个广告,带删除按钮的动画绘制.广告显示部分 是解耦合的,可以完全自定义 显示的广告的大小 可以安装原始的比例显示 或者设置比例

some fork from SID-AD-View-iOS and modify projects An advertisement View for developers that cooperated with SuperID.

image image

pod 'DesktopADView'

## Usage
There is a demo project included that shows how to use the SID-AD-View.

- draw the file "DesktopADView.h","DesktopADView.m" into your project./ pod 'DesktopADView' from https://github.com/timRabbit/DesktopADView
- import `DesktopADView.h` in your class
- create a new instance of `DesktopADView`
- using the following API to show the view:
- 支持横竖屏切换
- 关闭按钮动画实现,颜色大小,间距自定义, 删除的 x 不会超出圆圈的位置

///默认 UIIMAGEVIEW 做为 adview,

  • (void)showInView:(UIView *)view image: (UIImage *)image;

///自定义 view 做 adview,我拓展为 SDCycleScrollView,实现支付宝 芝麻信用那里的那个效果 DesktopADView *adView = [[DesktopADView alloc]init]; ///自定义的 adview, 我拓展为 SDCycleScrollView adView.adView = [SDCycleScrollView cycleScrollViewWithFrame:CGRectZero imageNamesGroup:@[@"adImage" , @"adImage" ]];

[adView showInView:self.view image:[UIImage imageNamed:@"adImage"]];

##Give Feedback

**Contact:**  [email protected]


///TODO 
1. 自定义 xx 的位置和方向
2. 支持 xx 的图片显示
3. 优化 ad 的宽高比例的使用方法

About

仿滴滴/Uber 的启动之后再控制器上面弹出多个广告,带删除按钮的动画绘制,,, 也可以做自定义弹窗使用,,如无限循环广告,app 相关短片介绍的播放,,产品广告图,产品广告链接,---用法简单,(void)showInView:(UIView *)view image: (UIImage *)image;(默认 UIIMAGEVIEW 做为 adview,),, 其他的页面设计直接 设置 adview = xx 就 ok

Resources

License

Stars

Watchers

Forks

Packages

No packages published