[MAPSME-3161] [ios] Fixed blinking artefacts.

This commit is contained in:
Ilya Grechuhin 2016-12-08 16:51:20 +03:00
parent 4874c87cf0
commit 86a489280f
2 changed files with 5 additions and 0 deletions

View file

@ -32,6 +32,7 @@ CGFloat const kAnimationDuration = .05;
@property (nonatomic) MWMCircularProgress * progress;
@property (weak, nonatomic) IBOutlet UIView * containerView;
@property (weak, nonatomic) IBOutlet UILabel * titleLabel;
@property (weak, nonatomic) IBOutlet UILabel * messageLabel;
@property (weak, nonatomic) IBOutlet UITableView * dialogsTableView;
@ -107,6 +108,9 @@ CGFloat const kAnimationDuration = .05;
{
[self.dialogsTableView registerNib:[UINib nibWithNibName:kCellIdentifier bundle:nil] forCellReuseIdentifier:kCellIdentifier];
self.listExpanded = NO;
CALayer * containerViewLayer = self.containerView.layer;
containerViewLayer.shouldRasterize = YES;
containerViewLayer.rasterizationScale = [[UIScreen mainScreen] scale];
[self.dialogsTableView reloadData];
}

View file

@ -192,6 +192,7 @@
<constraint firstAttribute="centerX" secondItem="Hay-Qx-kVw" secondAttribute="centerX" id="e0c-Aj-Anh"/>
</constraints>
<connections>
<outlet property="containerView" destination="Hay-Qx-kVw" id="YBK-zz-Ejj"/>
<outlet property="dialogsBottomOffset" destination="58e-JY-U6g" id="D2s-m8-XQl"/>
<outlet property="dialogsTableView" destination="1lL-cj-2oS" id="QPh-bX-GfH"/>
<outlet property="hDivider" destination="2nQ-k3-Rx3" id="5BD-2K-Qcc"/>