Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8690155
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:50:38+00:00 2026-06-12T23:50:38+00:00

I have a UIWebView in an iPhone application. In the html code there is

  • 0

I have a UIWebView in an iPhone application. In the html code there is a big image, named loadedBar that has an effect bound to it, using jQuery, the following way:

$('#loadedBar').click(function(){ ... });

Everything in the function is OK, but there’s a visualisation effect that I don’t need. When the image is clicked it becomes gray for a fraction of a second. I found the same behaviour on a div with an event, bound the same way as on the image.

Is this the default UIWebView event-click-visualisation and is there a way to turn it off (some CSS rules might do the trick), so that the app behaves like a native one.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T23:50:39+00:00Added an answer on June 12, 2026 at 11:50 pm

    You are looking for:

    -webkit-tap-highlight-color:<css-color>
    

    This is an inherited property that changes the tap highlight color,
    obeying the alpha value. If you don’t specify an alpha value, Safari
    on iOS applies a default alpha value to the color. To disable tap
    highlighting, set the alpha to 0 (invisible). If you set the alpha to
    1.0 (opaque), then the element won’t be visible when tapped.

    Documentation: http://developer.apple.com/library/ios/#documentation/AppleApplications/Reference/SafariWebContent/AdjustingtheTextSize/AdjustingtheTextSize.html

    Example to disable the property:

    -webkit-tap-highlight-color:rgba(0,0,0,0);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

HEllo, I have a hybrid iPhone application that has a UITabBarController and 5 Tabs.
I have a jquery-mobile application that is running inside a UIWebView in an iphone
How can I do this... I have a UIwebview in my iPhone application that
I have a UIWebView in my iPhone app that have a web page with
I have an application that is loading html from a remote server in a
I use a form in a UIWebView in my iPhone application that initially is
I have a fairly simple iPhone application that I want to have run on
so I have UIWebView in my application and I load some html (article) to
I have an iPhone application with Tabbar. One of the tabs is UIWebView which
I have a ViewController embedded in a NavigationController. The ViewController has a UIWebView that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.