-(void)viewDidLoad
{
UIImage *img = [UIImage imageNamed:@"IMG_01.jpg"];
imageView.image = img;
CGSize imgSize = [img size];

[scrollview setContentSize:imgSize];
}

- (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView

{

return imgView;

}



http://www.ddandongne.com/ddanhome/zbuilder/?mid=iphone_sdk&page=1&document_srl=2234

'Object-C' 카테고리의 다른 글

archiving  (0) 2010.10.07
pickerView  (0) 2010.10.07
imagePicker  (0) 2010.10.07
pageControl  (0) 2010.10.07
ScrollView  (0) 2010.10.07
customCell  (0) 2010.10.07

+ Recent posts