[iOS] disable force touch preview in web view

This commit is contained in:
Aleksey Belouosv 2018-12-03 13:03:23 +03:00 committed by Olesia Bolovintseva
parent 8ede52d104
commit b9004a0648

View file

@ -86,6 +86,7 @@
[self.webView.trailingAnchor constraintEqualToAnchor:trailingAnchor].active = YES;
self.webView.backgroundColor = UIColor.whiteColor;
self.webView.allowsLinkPreview = NO;
__weak __typeof(self) ws = self;
[self willLoadUrl:^(BOOL load) {