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 7428971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:53:44+00:00 2026-05-29T08:53:44+00:00

I disabled editing, but how do I disable the selection interface from popping up?

  • 0

I disabled editing, but how do I disable the selection interface from popping up? I don’t want the user to be able to highlight text, or copy it etc.

It is important to preserve vertical scrolling.

  • 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-29T08:53:44+00:00Added an answer on May 29, 2026 at 8:53 am
    textView.userInteractionEnabled = NO;
    

    Ok then if you need to preserve scrolling, then create a scrollView, set it as an outlet and add the textview on it.

    Then in viewWillAppear set the textview’s height:

    - (void)viewWillAppear:(BOOL)animated {
      [super viewWillAppear:animated];
      self.descriptionTextView.text = @""; // set some text to determine the total height
      self.descriptionTextView.frame = CGRectMake(self.descriptionTextView.frame.origin.x,
                                                  self.descriptionTextView.frame.origin.y,
                                                  self.descriptionTextView.frame.size.width,
                                                  self.descriptionTextView.contentSize.height);
      self.descriptionTextView.userInteractionEnabled = NO;
      //next set new content size for scroll view
      self.descriptionScrollView.contentSize = CGSizeMake(self.descriptionScrollView.frame.size.width,
                                                            self.descriptionTextView.frame.origin.y + self.descriptionTextView.frame.size.height);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to completely remove error list from visual studio 2008, not disable it
I'd like to intercept or disable Cmd-Z/Shift-Cmd-Z during a text editing session for a
I'm doing a live editing thing, but only want certain portions of the page
Apparently when editing a row, sorting via column headings is disabled. We want to
Our network admins have disabled IMAP and POP for our exchange server, but do
MSDTC is disabled by default (windows 2003 - onwards) and I want to have
As JavaScript can be disabled in the browser by the user, I wonder if
I find it annoying that Netbeans tries to disable editing the source code whenever
I know about using setEditing: to enable the editing mode of UITableView. But I
I needed to show some preexisting data from a table and but needed to

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.