跳到主要內容
UIScrollView滾動,中間顯示整張圖,前後露出部份圖
UIScrollView *s
crollowView = [[UIScrollView
alloc
] initWithFrame
:CGRectMake
(45, 30, 230, 300)];
1. scrollView
.pagingEnabled = YES;
2. scrollowView.clipsToBounds
= NO;
3. scrollView.contentSize
= CGSizeMake
(230 * 6, 300);
留言
張貼留言