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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:25:10+00:00 2026-05-20T14:25:10+00:00

All I want to have is a full-screen simple text editor. However, I don’t

  • 0

All I want to have is a full-screen simple text editor. However, I don’t want the scrolling component, but rather let the user flick through the pages (instead of scrolling). So I need to import or open a TXT and then format it by braking it down (e.g. by dividing its contents to 10 lines per screen/page).

My question is how I will display the txt? UITextView is scrollable (even though I can disable this in IB)… I did not find any method for UIWebView to let it format my contents on different ‘pages’ or screens.

Where will I need to start? Ideally I’d need some sample code. All the samples for UIWebView do not tell me anything about how to format editable text on several pages.

So all I really want is an UITextView which is not scrollable and opens up a new page/screen if I run out of space on the first page/screen.

Thanks for any help to get me started.

  • 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-20T14:25:11+00:00Added an answer on May 20, 2026 at 2:25 pm

    first thing first …… there is no particular method to achieve this

    1.You need to break your single string into multiple strings, to do that you can use

      int pageNumber; // suppose this keep track of on what page you are
      int count; //suppose this keep track of how long string your one screen support
      NSString* completeString; //suppose this is your string
      NSRange range = NSMakeRange(pageNumber * count, count);
      NSString* temp = [completeString substringWithRange:range];
    

    2.Now instead of using UITextView (if you don’t want user interaction ) you should use UILable
    just change the property of UILabel (this one is of your interest)

    UILabel* myLabel; //suppose this is that label
    myLabel.numberOfLines = 0; //this will chage your label to go multyline.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to have a route that looks something like: www.abc.com/companyName/Controller/Action/Id However, all the
I have a very simple jQuery script.. all I want it to do is
All my views/pages in apps so far have been full screen UIViewControllers that i
I want to have a UIScrollView that scrolls less then the full screen so
Following the guide here, I have created a full-screen WPF application. But I met
I want to create a full Screen Cocoa application, however my app is slightly
I have developed a J2ME app using java.awt.Window as I want a full screen
I want all my pages to use have some viewdata. i need to get
I want to have site wide default settings for all jQuery validation uses on
If I have Model.objects.all() I want to get only one object for any content_object=foo,

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.