perf(tapclick): tapPolyfill is only used in UIWebView!

- improves drastically the responsiveness in WK and iOS Safari
This commit is contained in:
Manu Mtz.-Almeida
2016-11-17 17:27:45 +01:00
parent 0883f98b0f
commit 0c61c2a8c1
3 changed files with 37 additions and 10 deletions

View File

@ -560,6 +560,13 @@ export class Platform {
}
}
testUserAgent(expression: string): boolean {
if (this._ua) {
return this._ua.indexOf(expression) >= 0;
}
return false;
}
/**
* @private
*/