Skip to content

dd2333/DDNoticePopView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDNoticePopView

LICENSE  CocoaPods  SUPPORT  BLOG 

DDNoticePopView / 公告弹出控件.

github

Installation

Download NoticePopView and try out the included iPhone example apps

Usage

Cocoapods import:

  • NoticePopView is available on CocoaPods. Just add the following to your project Podfile:
    pod 'DDNoticePopView'
  • Use by including the following import:
    #import <DDNoticePopView.h>

Manual import:

  • Drag All files in the DDNoticePopView folder to project
  • Use by including the following import:
    #import "DDNoticePopView.h"

show

//加载本地图片或者网络图片
UIImage *img = [UIImage imageNamed:@"t.jpeg"];

[[DDNoticePopView sharedInstance] show:img btnClick:^{
    [[DDNoticePopView sharedInstance] hide];
    NSLog(@"open");
} closeClick:^{
    NSLog(@"close");
}];

About

NoticePopView / 公告弹出控件

Resources

License

Stars

Watchers

Forks

Packages

No packages published