javascript - Programmatically triggering a long tap on a link in a UIWebView -


Is there a way to trigger a long tap on a link within a UIWebView program, Which do the relevant menu action sheets appear?

I know that it is possible to get a link from its ID and click on [webView stringByEvaluatingJavaScriptFromString: @ "document.getElementById ('linkId') by using the program. >

Can a function change I click to turn the long tap on instead of a regular left click?

Any solution that references The menu presents, not only with Javascript, will work for me, as long as the presented menu is actually There is only one that is presented long after the tap.

You just have a UIActionSheet can present the program and it can look like a long press like this:

  UIFSAT AC = [[UiXShethe Elok] Init with Title: @ "Link Action" Rep: Automatically CancelTutton: @ "Cancel" Destructive Button: Any other Button Title: @ "Safari Open Link ", @" Copy Link ", Zero];   

Do not forget to apply the representative method functionality: Sheet: Clicked Button Indicates:

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -