UIScrollView滾動,中間顯示整張圖,前後露出部份圖








UIScrollView *scrollowView = [[UIScrollView alloc] initWithFrame:CGRectMake(45, 30, 230, 300)];

1. scrollView.pagingEnabled = YES;
  

2. scrollowView.clipsToBounds = NO


3. scrollView.contentSize = CGSizeMake(230 * 6, 300);

留言

熱門文章