The zoomed image was not properly scaled after screen rotation

This commit is contained in:
ylecollen
2014-12-19 10:38:19 +01:00
parent 6a67323caf
commit 22e14cb50b
@@ -802,6 +802,7 @@ NSString *const kCmdResetUserPowerLevel = @"/deop";
[tap setNumberOfTapsRequired:1];
[highResImage addGestureRecognizer:tap];
highResImage.userInteractionEnabled = YES;
highResImage.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleTopMargin;
}
} else if (msgtype == RoomMessageTypeVideo) {
NSString *url =content[@"url"];