uitextview

How to move through Multiple pages of text using Paging

Hello, I am working on a view that would allow me to display large amounts of text, and to move through it by showing a page at a time and allowing the user to scroll right and left. I thought I could do it by putting a UITextView inside a UIScrollView which has the pagingEnabled property set to YES along with setting the content width...

Is it possible to dynamically create a UITextView?

For example: an UITextView will be created when a touch event happens. How to do it? Thanks ...

UITextView adding text to new line

I would like to add new lines of text to my UITextView for my iPhone app. Basically my textview starts with a single line, and as app advances, new lines are added. However I can add only to the end or beginning of the existing text. How can I make such an entry into a new line. Can I manually send \n to the textview.text at a calculated...

Easy UITextView and UITableView

Does anyone have a simple tutorial on how to easily add a TextView to a TableView? Basically re-creating a Settings-style grouped tableview type thing. ...

Programmatically pasting into an iPhone UITextView

I have an iPhone app with a UITextView. I'd like to be able to paste the clipboard contents into it without showing the UIMenuController. I tried calling the paste: method on the UITextView, and on the first responder, but neither of those things worked. I was able to implement this by writing a bunch of code to read text from the clip...

Hiding the Keyboard when losing focus on a UITextView

So I have a UITextView that I'm using to allow the user to submit some text. My problem is, I can't seem to figure out how to allow the user to 'Cancel' by tapping away from the UITextView. ...

Can't get rid of the keyboard in UITextView

Hi I have a table and in one of the cells I keep a UITextView. When the user taps it the keyboard appears. I was trying various ways to get rid of it. My first approach was to detect a tap on the table cell of the UITextView, but since the text view takes most of it, it's not suitable. Then I tried to add a button to the toolbar and whe...

iPhone: How do you control UITextView's link color when phone number/email is recognised?

I have a UITextview that has a phone number in it. I see when it detects it it turns it the standard link blue and underlines it. I just want to know how I can control that link state programmatically. ...

iphone UitextView Text cut off

Hi All: I have a Uitextview that is populated with a text file. I have a control on the page that allows the user to enable and disable paging. I am having a problem where the top and/or bottom line of the text is sometimes "split in half" so you can only see the top or bottom half of the line. I believe the code below should fix it....

UITextView - text shifts out of view when editing

I have a tableHeaderView with a UITextView in it. The view loads from a nib. The UITextView does not have any scrolling turned on. The reason I am using it is simply that it wraps text over two lines. I gave it just enough room to fit two lines of text. The data that I prepopulate works just fine, and is aligned in the center vertic...

How do I auto detect a hyperlink while editing?

Can you auto detect a hyperlink in HTML,JavaScript or Objective C? ...

Forcing UITextView to stay the same size while typing.

I have a UITextView that I shrink upon bringing up the keyboard. An issue I just ran into though is as I type past the keyboard, rather than the text start scrolling, the UITextView automatically gets bigger. How can I possibly turn this off? EDIT This is not a subclass, this is a plain old UITextView. It's definitely resized and gets ...

Iphone and right-to-left text

How can I display RTL text(e.g. arabic) in UITextView? ...

How to make a UITextView scroll horizontally as the user types?

This seems like it should be simple but I can't work out how to do it. I've created a UITextView in interface builder. It doesn't sit in a table cell or anything fancy like that. What I'd like to do is have the UITextView scroll itself to the left when the user has typed their way all the way to the right margin. At the moment it jus...

How to open a UITextView URL in UI Web View?

Hi there, In my iPhone app an UITextView is containing an URL. I want to open this URL in an UIWebView instead of opening it into safari? My UITextView contains some data along with an URL. In some cases the no. of URLs can be more than one. Thanks Sandy ...

How do I prevent text entry in a UITextView?

I have a text field entry in my view that I would like to block access to during a background operation. I've tried using the editable property, which successfully blocks access during the background operation, but the moment I set editable to YES, the keyboard comes up and the textfield becomes the first responder. Dismissing the keyb...

iphone: Text around an image

Is it possible to have text go around an image ? like in the picture? ...

Placing UITextView inside a UITableView footer

Hello everyone I have a UITableView with footer view. This footer view contains a UITextView as a subview. Both the table view and footer view are created programmatically. The text view appears on screen correctly, but it doesn't display any text, nor does it respond to touch events. Could the problem be related to the fact that UITex...

iPhone UITextView leaves room for 2 lines at the bottom

Hi Guys, When i start typing text in a default textView in my viewcontroller, its not going to the bottom of the textfield. It leaves room for 2 more lines of text and then starts scrolling. I want it to start scrolling when i start going beyond the last line. I tried everything, and i dont know what i can do? Anyone any ideas? ...

UiTextView doesn't display text on iphone os 2.0

Hi, My text view shows the text when i am using iphone OS 3.0- but for some reason it will not show the text on OS 2.0. I can get the inputed text on OS 2.0 and even save it to file, and then restore the text but still- the text is not visible on OS 2.0. I have tried changing the scrolling properties and the font and the color and the hi...