Viewcontroller. M--------------------------------------------------(void) viewdidload {[Super Viewdidload];Additional setup after loading the view, typically from a nib. Large picture slide Uiscrollview *scrollview = [[Uiscrollview alloc] init];ScrollView. Frame= CGRectMake (0,0, self. View. Bounds. Size. Width, self. View. Bounds. Size. Height);//Set the visual range of the UiscrollviewScrollView. BackgroundColor= [Uicolor Graycolor];//Set Uiscrollview background color is gray[Self. ViewAddsubview:scrollview];//Load UiscrollviewUiimageview *imageview = [[Uiimageview alloc] init];ImageView. Image= [UIImage imagenamed:@"Xingkong.jpg"];CGFloat IMGW = ImageView. Image. Size. Width;//width of pictureCGFloat IMGH = ImageView. Image. Size. Height;//height of the pictureImageView. Frame= CGRectMake (0,0, IMGW, IMGH);[ScrollView Addsubview:imageview];Sets the scrolling range (content size) of the Uiscrollview ScrollView. Contentsize= ImageView. Image. Size;}-
Demo
iOS big picture Processing (attached source)