XHMediaZoom 1.0

XHMediaZoom 1.0

LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.

  • By
  • xhzengAIB


English:Similar instagrm picture zoom animation, video and other resources View to View the details, according to the location of the ImageView to zoom in, and View the voice broadcast function, note: resource file but the network, also can be local, convenient custom use, and also has iOS7 background frosted glass effect, can be customised Settings are open.

image image image



中文: CocosPods安装XHMediaRecorder的推荐方法,只是在Podfile添加以下行:

english: CocosPods is the recommended methods of installation XHMediaRecorder, just add the following line to Profile:


pod 'XHMediaZoom'



- (void)_setup {
    UIImageView *imgaeView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"your image"]];
    imgaeView.userInteractionEnabled = YES;
    [imgaeView addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(show:)]];
    [self.view addSubview:imgaeView];

- (void)show:(UITapGestureRecognizer *)gesture {
    [self _showZoom:(UIImageView *)gesture.view];

- (void)_showZoom:(UIImageView *)imageView {
    XHMediaZoom *imageZoomView = [[XHMediaZoom alloc] initWithAnimationTime:0.5 imageView:imageView blurEffect:NO];
    // self.imageView 是你被点击的控件
    // self.imageView is your imageView
    imageZoomView.tag = 1;
    imageZoomView.backgroundColor = [UIColor colorWithRed:0.141 green:0.310 blue:1.000 alpha:1.000];
    imageZoomView.maxAlpha = 0.75;
    [imageZoomView show];

Thank you

rFlex provide VideoPlay


中文: XHMediaZoom 是在MIT协议下使用的,可以在LICENSE文件里面找到相关的使用协议信息.

English: XHMediaZoom is acailable under the MIT license, see the LICENSE file for more information.