Links in uitextview

Discussion in 'iOS Programming' started by Muthu.chidambar, Jul 14, 2009.

  1. Muthu.chidambar macrumors newbie

    Joined:
    May 20, 2009
    #1
    Can a link from UITextView be opened in UIWebView instead of the default direction to safari.?????
     
  2. Muthu.chidambar thread starter macrumors newbie

    Joined:
    May 20, 2009
    #3
    found. it. it an be opened in a webview instead of safari.
     
  3. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #4
    And you're not going to share with us how?
     
  4. Muthu.chidambar thread starter macrumors newbie

    Joined:
    May 20, 2009
    #5
    Code:
    - (void)webView:(id)fp8 decidePolicyForNavigationAction:(id)fp12 request:(id)fp16 frame:(id)fp20 decisionListener:(id)fp24;
    Use this method in your custom Text view.
    this method will get called, when you click on a text link.
     

Share This Page