iOS Question hyperlinks in text

Discussion in 'iOS Questions' started by Albi, Apr 13, 2015.

  1. Albi

    Albi Active Member Licensed User

    Hello,

    Is there are way to recognise hyperlinks within text fields in B4i and open url's in browsers?

    Thanks
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Is the text field editable?
     
  3. Albi

    Albi Active Member Licensed User

    no, it was not. I changed it to editable - it doesn't link, just lets me edit it.
    I tried a label too and that doesn't link automatically either.

    I have no libraries selected other than the iCore - I couldn't find any documentation with the others that would indicate they would manage hyperlinks.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    I meant to ask about your requirements. If you do not need an editable field then you can use WebView to show text with links and then intercept the OverrideUrl event to handle the clicks.
     
  5. Albi

    Albi Active Member Licensed User

    ah, i see. I don't need it editable and that sounds like it should work for me. I shall try a WebView.
    Thanks!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice