+ Removed some Deprecation warnings.

This commit is contained in:
moritz haarmann
2014-03-19 13:14:38 +01:00
parent eba31ba279
commit e0057f650e
3 changed files with 7 additions and 7 deletions

View File

@@ -110,13 +110,13 @@
- (void)discard:(id)sender {
[self.delegate annotationControllerDidCancel:self];
[self dismissModalViewControllerAnimated:YES];
[self dismissViewControllerAnimated:YES completion:nil];
}
- (void)save:(id)sender {
UIImage *image = [self extractImage];
[self.delegate annotationController:self didFinishWithImage:image];
[self dismissModalViewControllerAnimated:YES];
[self dismissViewControllerAnimated:YES completion:nil];
}
- (UIImage *)extractImage {
@@ -192,7 +192,7 @@
}
}
-(BITImageAnnotation *)firstAnnotationThatIsNotBlur {
-(UIView *)firstAnnotationThatIsNotBlur {
for (BITImageAnnotation *annotation in self.imageView.subviews){
if (![annotation isKindOfClass:[BITBlurImageAnnotation class]]){
return annotation;