YXYPhotoBrowser * browser = [[YXYPhotoBrowser alloc] initWithImageUrlGroup:arr delegate:self];
browser.currentImageIndex = tap.view.tag - 100;
browser.actionView = view;
[browser show];
DisplayImageView * imageView = [[DisplayImageView alloc] initWithFrame:CGRectMake(0, 300, kScreenWidth, 200) imageUrl:url];
imageView.image = [UIImage imageNamed:@"1.jpg"];
imageView.actionView = actionView;
[self.view addSubview:imageView];
详细的请看Demo