仿 QQ 图片选择器

2015-08-26 22:37:10 +08:00
 jianleer

CocoaPicker --仿 QQ 图片选择器

如何使用

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

截图 0

截图 1

1159 次点击
所在节点    C
6 条回复
PHPwind
2015-08-26 23:55:21 +08:00
为了宣传戳子科技,楼主也是蛮拼的
allenforrest
2015-08-27 00:02:40 +08:00
url?
pheyer
2015-08-27 09:30:45 +08:00
链接也不放一个。。。
mkeith
2015-08-27 10:24:27 +08:00
@PHPwind 这也能黑啊
jianleer
2015-08-27 17:17:00 +08:00
jianleer
2015-08-27 17:18:00 +08:00

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/216250

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX