当前正在展示的两个子视图的索引位置是
NSInteger firstIndex = (NSInteger) floorf((CGRectGetMinX(scrollView.bounds))/CGRectGetWidth(scrollVIew.bounds);
///注意,求最后一个的的时候,一定要减1
NSInteger last = (NSInteger) floorf(((CGRectGetMax(scrollView.bounds) - 1)/CGRectGetWidth(scrollVIew.bounds)
注意:floorf函数的作用是向下取整