mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
+ Improved Performance of Attachment Viewer.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user