equal
deleted
inserted
replaced
207 } |
207 } |
208 |
208 |
209 -(void) updatePreviewWithFile:(NSString *)filePath { |
209 -(void) updatePreviewWithFile:(NSString *)filePath { |
210 UIImage *image = [[UIImage alloc] initWithContentsOfFile:filePath]; |
210 UIImage *image = [[UIImage alloc] initWithContentsOfFile:filePath]; |
211 [self setImageRounded:image forState:UIControlStateNormal]; |
211 [self setImageRounded:image forState:UIControlStateNormal]; |
|
212 self.backgroundColor = [UIColor whiteColor]; |
|
213 self.layer.cornerRadius = 12; |
212 [image release]; |
214 [image release]; |
213 } |
215 } |
214 |
216 |
215 -(void) removeIndicator { |
217 -(void) removeIndicator { |
216 UIActivityIndicatorView *indicator = (UIActivityIndicatorView *)[self viewWithTag:INDICATOR_TAG]; |
218 UIActivityIndicatorView *indicator = (UIActivityIndicatorView *)[self viewWithTag:INDICATOR_TAG]; |