Tips for Making UIWebView Look More Native

iOS
2015-06-08 01:21 (10 years ago)
Tips for Making UIWebView Look More Native

Disabling Long Press Menus

CSS

body {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
}

*:not(input, textarea) { -webkit-user-select: none; }

Improving Tap Response Speed

By default, the response to a tap can be sluggish because it waits for a potential double-tap. To improve this, you can use fastclick.js.

https://github.com/ftlabs/fastclick

Current rating: 5.0 (1)
The author runs the application development company Cyberneura.
We look forward to discussing your development needs.

Categories

Archive