GlPopView 1.0.3

GlPopView 1.0.3

gleeeli 维护。



GlPopView 1.0.3

  • gleeeli

GlPopView

自定义带有箭头的气泡,支持关闭箭头,可分别设置四个圆角显示

支持 Pod 导入

pod 'GlPopView'

使用方式:

GlPopView *popView = [[GlPopView alloc] initWithFrame:CGRectMake(10, 110, 100, 150)];

// 箭头向上

popView.congfig.directionArrow = GlArrowDirectionTop;

// 箭头靠右

popView.congfig.alignmentArrow = GlArrowAlignmentRight;

// 箭头顶的水平方向偏移值

popView.congfig.offsetopHorizontalArrow = popView.congfig.widthArrow * 0.5;

[self.view addSubview:popView];

注意!!!初始化后,后期更改属性,需要手动更新,请使用:[popView setNeedsDisplay];

image