copy ScrollBarTagView folder (ScrollBarTagView.h / ScrollBarTagView.m)
1.add the following line to your Podfile:
pod 'ScrollBarTagView', '~> 1.0.1'
2.install ScrollBarTagView into your project:
pod install
1.create yourself tagView
2.- (void)viewDidAppear written under the code
[ScrollBarTagView initWithScrollView:yourScrollView
withTagView:yourTagView
didScroll: ^(id scrollBarTagView, id tagView, CGFloat offset) {
// Scroll to change your tagView
}];