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];
}];
1
PHPwind 2015-08-26 23:55:21 +08:00 via iPhone
为了宣传戳子科技,楼主也是蛮拼的
|
2
allenforrest 2015-08-27 00:02:40 +08:00
url?
|
3
pheyer 2015-08-27 09:30:45 +08:00
链接也不放一个。。。
|
5
jianleer OP |
6
jianleer OP |