{
  "$type": "site.standard.document",
  "description": "You use a UIWebView in your iPhone app to display HTML content. You add clickable links that your application handle via custom schemes foo: instead",
  "path": "/disable-callouts-for-links-with-custom-schemes-in-uiwebview/",
  "publishedAt": "2010-01-23T16:31:00.000Z",
  "site": "at://did:plc:bryys25pc2fnagnyxqgsglhd/site.standard.publication/3mn26bjkkmh23",
  "tags": [
    "iOS Development"
  ],
  "textContent": "You use a UIWebView in your iPhone app to display HTML content. You add clickable links that your application handle via custom schemes (foo: instead of http://), e.g. foo:somevalue so when someone taps that link, you know what it was for and act accordingly.\n\nYou test out your app and the links work great.\n\nUnfortunately, when press and hold the link, a callout for the link appears, revealing foo:somevalue.\n\nThe solution? Add a bit of CSS to each affected link so that it looks like:\n\nSee http://gist.github.com/285098\n\n(You'll see an interesting effect when you press and hold on the link.)",
  "title": "Disable Callouts for Links with Custom Schemes in UIWebView"
}