배열에 여러 이미지가 있고 scrollView 모든 이미지가 자동으로 스크롤해야하며 이미지를 클릭하면 다른보기로 이동하여 세부 정보를 표시해야합니다. 다시 애니메이션 0으로, 즉 첫번째 이미지를로드한다 0에서 배열의 마지막에 스크롤 이미지를 완료 한 후 나는 자동으로 이미지를 스크롤
스피
이[NSTimer scheduledTimerWithTimeInterval:5.0 target:self selector:@selector(onTimer) userInfo:nil repeats:YES];
- (void) onTimer {
// Updates the variable h, adding 100 (put your own value here!)
h += 100;
//This makes the scrollView scroll to the desired position
yourScrollView.contentOffset = CGPointMake(0, h);
}
이렇게하면 http://iosdevelopertips.com/user-interface/creating-circular-and-infinite-uiscrollviews.html을 도울 수 있습니다. –