---
slug: "UIWebViewをネイティブっぽくするTips"
title: "Tips for Making UIWebView Look More Native"
description: "\n\n\nDisabling Long Press Menus\nCSS"
url: "https://www.ytyng.com/en/blog/UIWebViewをネイティブっぽくするTips"
publish_date: "2015-06-08T01:21:25Z"
created: "2015-06-08T01:21:25Z"
updated: "2026-02-27T10:44:09.566Z"
categories: ["iOS"]
keywords: ""
featured_image_url: "https://media.ytyng.com/resize/20230812/7e0b00477fb2441aa636ca5db3119fc4.png.webp?width=768"
has_video: false
has_music: false
video_urls: []
music_urls: []
lang: "en"
---

# Tips for Making UIWebView Look More Native

<div class="document">

<div class="section" id="id1">
<h3>Disabling Long Press Menus</h3>
<p>CSS</p>
<pre class="literal-block">body {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
}

*:not(input, textarea) {
  -webkit-user-select: none;
}
</pre>
</div>
<div class="section" id="id2">
<h3>Improving Tap Response Speed</h3>
<p>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.</p>
<p><a class="reference external" href="https://github.com/ftlabs/fastclick">https://github.com/ftlabs/fastclick</a></p>
</div>
</div>
