Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-05-2009, 05:21 AM   #1 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 4
Default Disabling the UIWebView "tap and hold" Popup

In iPhone OS 3.0 a feature has been added to Safari and UIWebView components. When you tap and hold on a link for a second an action sheet pops up from the bottom of the screen giving you the option to open the link, copy the URL or cancel the operation.

I'm using a UIWebView to render rich text together with a couple of controls and this functionality doesn't really fit well there.

Is anyone aware of a way to disable this for the entire UIWebView, or perhaps for individual links using some kind of CSS attribute?

Thanks in advance!
Sensei is offline   Reply With Quote
Old 07-23-2009, 04:23 AM   #2 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 8
Default

Quote:
Originally Posted by Sensei View Post
In iPhone OS 3.0 a feature has been added to Safari and UIWebView components. When you tap and hold on a link for a second an action sheet pops up from the bottom of the screen giving you the option to open the link, copy the URL or cancel the operation.

I'm using a UIWebView to render rich text together with a couple of controls and this functionality doesn't really fit well there.

Is anyone aware of a way to disable this for the entire UIWebView, or perhaps for individual links using some kind of CSS attribute?

Thanks in advance!
bump! how do we fix this. it's costing me a fortune!
johnnyutah is offline   Reply With Quote
Old 01-16-2010, 05:42 AM   #3 (permalink)
Registered Member
iPhone Dev SDK Supporter
 
kilobytedump's Avatar
 
Join Date: Oct 2008
Posts: 188
Default

Any movement on this guys?
kilobytedump is offline   Reply With Quote
Old 01-16-2010, 06:03 AM   #4 (permalink)
Registered Member
iPhone Dev SDK Supporter
 
kilobytedump's Avatar
 
Join Date: Oct 2008
Posts: 188
Default

Quote:
Originally Posted by kilobytedump View Post
Any movement on this guys?
Actually here's the answer. It might help someone else

Use CSS

* {
-webkit-touch-callout:none;
}
kilobytedump is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Online Users: 273
16 members and 257 guests
adison, Bertrand21, bravetarget, falcon76, ForrestShi, iSdkDev, jordanclark1993, leeus, LemonMeringue, lepetitapps, ltgbau, pereorra, rajeshgautam, refreshe, Tambourin, warcrow
Most users ever online was 779, 05-11-2009 at 09:55 AM.
» Stats
Members: 24,226
Threads: 39,006
Posts: 171,094
Top Poster: smasher (2,570)
Welcome to our newest member, mellisakelien54
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:27 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0