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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T06:11:03+00:00 2026-06-08T06:11:03+00:00

In my IPad Application i am using TextView only for Text Displaying.As i need

  • 0

In my IPad Application i am using TextView only for Text Displaying.As i need to display a Larger Text Thats Why i am using UITextview due to its Scrolling Property instead of using UILabel.
In my application i do not need to edit Text in UITextview ,but problem for me is that when i click on Textview for scrolling the keyboard appear its hide my textview so i want that my keyboard is never appear on click event.i make a search but not find any Suitable solution.Any help will be appriated.Thanx

  • 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-06-08T06:11:05+00:00Added an answer on June 8, 2026 at 6:11 am

    NEW ANSWER (previous one was not working properly)

    OK so since that is not working because it disables scrolling also, you should try to:

    Implement UITextFieldDelegate protocol
    In your view controller add the text

    @interface YourViewController () <UITextViewDelegate>
    

    In viewDidLoad set yourself as a delegate:

    yourUITextView.delegate = self;
    

    Implement the delegate method below:

    - (BOOL)textViewShouldBeginEditing:(UITextView *)textView
    { 
       return NO; 
    }
    

    When the textview is about to edit the text, this method will be called automatically. It returns no, so the editing won’t start.

    It is very important that you undo the changes from the previous answers: Do not set the editable field to NO

    I tried it and it’s working. Hope it helps!

    OLD ANSWER

    when you declare the variable, or in your viewdidload method, set the editable property to NO:

    yourUITextView.editable = NO;
    

    or

    [yourUITextView setEditable:NO]
    

    That should prevent the keyboard from appearing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am able to display the current time on my iPad application using the
I'm creating an iPad application that supports ONLY LANDSDCAPE mode. I'm using storyboards. Even
I'm using Mono Touch to develop a landscape-only iPad application but the simulator doesn't
My ipad application has a custom look. It uses text labels extensively for displaying
I have an iPad application with multi-threading capabilities using GCD. When i need to
I am using splitviewcontroller for my ipad application in which I need to capture
I am using OpenFlow in my iPad application. I want to display my UIView's
Hi I need using a couple of fonts with CTFontRef for an iPad application
I am developing an iPad application using sdk 5 and storyboard. I´m following the
I'm able to retrieve the current location in my iPad application using, CLLocation *location

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.