Skip to content

nsleejian/CocoaPicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CocoaPicker --仿QQ图片选择器

使用方法

platform :ios, '7.0'
pod "CocoaPicker"

 self.view.window.rootViewController.modalPresentationStyle = UIModalPresentationCurrentContext;//半透明
 CocoaPickerViewController *transparentView = [[CocoaPickerViewController alloc] init];
 transparentView.delegate = self;
 transparentView.modalPresentationStyle = UIModalPresentationOverFullScreen;
 transparentView.view.frame=self.view.frame;
 transparentView.view.superview.backgroundColor = [UIColor clearColor];
 [self presentViewController:transparentView animated:YES completion:nil];

CocoaPicker

“图片名称”
http://ww3.sinaimg.cn/large/640e3faagw1evgy8z326qg209m0gtqv9.gif

QQ

“图片名称”