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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:30:57+00:00 2026-05-23T20:30:57+00:00

I have a UITextView and I would like to only allow it to be

  • 0

I have a UITextView and I would like to only allow it to be scrollable horizontally only.

Basically when the UITextView word-wraps I want the user to have to scroll horizontally to be able to view the rest of the contents.

  • 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-23T20:30:58+00:00Added an answer on May 23, 2026 at 8:30 pm

    You can set the content size of the text view to the height of the view. Just make sure the width of the content extends past the width of the textView’s frame or else it won’t scroll.

    // UITextView* myTextView: gets declared somewhere...
    
    // The text view (subclass of a UIScrollView) won't go past its content size
    [myTextView setContentSize:CGSizeMake(width, myTextView.frame.size.height)];
    
    // Just in case, if you don't want your user bouncing the view up/down
    [myTextView setAlwaysBounceVertical:NO];
    

    I hope that’s what you were looking for.

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

Sidebar

Related Questions

I have a UITextView and a WebView side by side and I would like
I would like to have a UITextField or UITextView in where as I do
I have some text in a UITextView, that I would like to have show
What is the equivalent of a UITextView/UILabel in Three20? I would like to have
Suppose you have an UITextView and you would like to set the delegate of
I have an image overlapping on the UITextView. I would like to hide the
Setup: I have a UITextView inside a UITableViewCell 's contentView . I want it
I want to have to occasionally insert text into the UITextView text object. For
has anyone used a uitableview to write a uitextview-like interface where I would be
I have a text field entry in my view that I would like 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.