This was working fine until I tried it on an iOS 9 device. The pageControl also is not updating where it was working fine before I tried iOS 9. Any thoughts?
__weak typeof(self)weakSelf = self;
self.didChangedPage = ^(NSInteger currentPageIndex) {
// do something
NSLog(@"page index: %i | scrollView: %@", (int)currentPageIndex, NSStringFromCGRect(weakSelf.scrollView.frame));
};