Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.08 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.08 KB

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

“图片名称”