如果有人关心我仅仅通过将uiwebvies添加到可变阵列中,然后先在滚动视图中切换它们(视觉),然后在变动阵列中切换它们(逻辑上),然后在变动阵列中切换它们。举例来说,从代码上方的链接看,“滚动右侧”是这样的(滚动ViewdidEnd Deceration:) :
CGRect frame = ((UIView*)[self.arrWebViewsContent objectAtIndex:2]).frame;
((UIView*)[self.arrWebViewsContent objectAtIndex:2]).frame = ((UIView*)[self.arrWebViewsContent objectAtIndex:1]).frame;
((UIView*)[self.arrWebViewsContent objectAtIndex:1]).frame = ((UIView*)[self.arrWebViewsContent objectAtIndex:0]).frame;
((UIView*)[self.arrWebViewsContent objectAtIndex:0]).frame = frame;
UIView *view_tmp = [self.arrWebViewsContent objectAtIndex:0];
[self.arrWebViewsContent replaceObjectAtIndex:0 withObject:[self.arrWebViewsContent objectAtIndex:1]];
[self.arrWebViewsContent replaceObjectAtIndex:1 withObject:[self.arrWebViewsContent objectAtIndex:2]];
[self.arrWebViewsContent replaceObjectAtIndex:2 withObject:view_tmp];