Helps resolve CXTDT-63501
Gesture recognizer on Page Control needs to be public so that subclass, MFTextPageControl, can add it and remove it as needed
This commit is contained in:
parent
545d9af415
commit
d04e87edaf
@ -23,6 +23,7 @@
|
||||
@property (nullable, weak, nonatomic) UIView *containerView;
|
||||
@property (nullable, weak, nonatomic) UIView *indicatorRectangle;
|
||||
@property (nullable, copy, nonatomic) PagingTouchBlock pagingTouchBlock;
|
||||
@property (nullable, strong, nonatomic) UITapGestureRecognizer *tapGestureRecognizer;
|
||||
|
||||
///set YES to make the accessibility value as "Slide #currentPage of #totalPage", otherwise will be "Page #currentPage of #totalPage", default is NO
|
||||
@property (nonatomic) BOOL isSlidesAcc;
|
||||
|
||||
@ -267,6 +267,7 @@ static CGFloat const IndicatorRectangleHeight = 4;
|
||||
UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] init];
|
||||
[tapGesture addTarget:self action:@selector(rectangleTapped:)];
|
||||
[self addGestureRecognizer:tapGesture];
|
||||
self.tapGestureRecognizer = tapGesture;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user