cleanup
This commit is contained in:
parent
67e12ed35a
commit
9f6fa16809
1 changed files with 1 additions and 2 deletions
|
@ -78,6 +78,7 @@
|
|||
previewImageView = [[UIImageView alloc] initWithImage:image];
|
||||
|
||||
largeImage = image;
|
||||
//Create Scroll view and add the ImageViewController.
|
||||
scrollView.contentSize = CGSizeMake(IMAGE_WIDTH, IMAGE_HEIGHT);
|
||||
[scrollView addSubview:previewImageView];
|
||||
[previewImageView release];
|
||||
|
@ -86,7 +87,6 @@
|
|||
scrollView.delegate = self;
|
||||
[scrollView setZoomScale:1];
|
||||
|
||||
|
||||
}
|
||||
|
||||
- (IBAction)cancelPreview:(id)sender {
|
||||
|
@ -142,7 +142,6 @@
|
|||
- (void)viewDidUnload {
|
||||
// Release any retained subviews of the main view.
|
||||
// e.g. self.myOutlet = nil;
|
||||
//[scrollView release];
|
||||
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue