Skip to content

放大镜(MagnifierView) - 支持方形和圆形样式两种样式,可设置准星显示隐藏

Notifications You must be signed in to change notification settings

iotjin/JhMagnifierView

Repository files navigation

JhMagnifierView

放大镜(MagnifierView) - 支持方形和圆形样式两种样式,可设置准星显示隐藏



Examples

  • demo
@property (strong, nonatomic) JhMagnifierView *magnifierView;

- (JhMagnifierView *)magnifierView {
    if (! _magnifierView) {
        _magnifierView = [[JhMagnifierView alloc]init];
        _magnifierView.magStyle = JhMagnifierStyleCircular; //设为圆形
        _magnifierView.targetWindow = self.view.window;
        _magnifierView.adjustPoint = CGPointMake(0, -15); //放大镜位置调整
        _magnifierView.magnifierWidth = 100; //设置宽度
        _magnifierView.isHiddenAddLabel = YES; 
    }
    return _magnifierView;
}

About

放大镜(MagnifierView) - 支持方形和圆形样式两种样式,可设置准星显示隐藏

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published