+ Improved Performance of Attachment Viewer.

This commit is contained in:
moritz haarmann
2014-04-28 14:50:24 +02:00
parent 59216cde17
commit 9fd4ead155
2 changed files with 52 additions and 32 deletions

View File

@@ -85,7 +85,8 @@ typedef NS_ENUM(NSInteger, BITImageAnnotationViewControllerInteractionMode) {
self.imageView.image = self.image;
self.imageView.contentMode = UIViewContentModeScaleToFill;
self.view.frame = UIScreen.mainScreen.applicationFrame;
[self.view addSubview:self.imageView];
// Erm.
self.imageView.frame = [UIScreen mainScreen].bounds;