Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6679031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:18:44+00:00 2026-05-26T04:18:44+00:00

I want to insert a hyperlink as we have in uiwebview. As the link

  • 0

I want to insert a hyperlink as we have in uiwebview. As the link displayed as Read More and when user click on it then it must be redirected to a URL in iPhone browser (i.e safari).

Please don’t suggest me using UIwebview in place of it. And don’t suggest me

textView.dataDetectorTypes = UIDataDetectorTypeLink;

Because in second way the url displayed to the user, which I don’t want.

Give me any other suggestions to achieve this or any sample code for it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:18:44+00:00Added an answer on May 26, 2026 at 4:18 am

    Is it have to be a textView? I did some similar adding a button with the text, background invisible and add the action to call safari on click, like this:

        UIButton *hiperlinkButton = [UIButton buttonWithType:UIButtonTypeCustom];
        [hiperlinkButton setTitle:@"your text" forState:UIControlStateNormal];
        [hiperlinkButton setTitleColor:[UIColor colorWithRed:204.0/255.0 green:33.0/255.0 blue:0.0/255.0 alpha:1.0] forState:UIControlStateNormal];
        [hiperlinkButton setFrame:CGRectMake(yourposition and size)];
        [hiperlinkButton.titleLabel setFont:[UIFont systemFontOfSize:15]];
        [hiperlinkButton addTarget:self action:@selector(callSafari:) forControlEvents:UIControlEventTouchUpInside];
        [contactsView insertSubview:hyperlinkButton aboveSubview:contactsView];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my app I want insert a pdf file for read it, the problem
I want to insert all divs which have the class .page into an array,
I want to insert text with custom formatting, then change the font style back
I want To insert hyperlink in JPanel (so that on clicking i go to
I have a div <div id=imgDIV><h4>My Debug DIV</h4></div> and I want insert a debug
I want insert following checkbox in a row from database table, but have error,
I have in my project a report that calculate some event ...i want insert
I have table with auto increment primary key. I want insert a bunch of
I want to insert say 50,000 records into sql server database 2000 at a
I want to insert something into a STL list in C++, but I only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.