uitextview

Extract first word from UITextView

In my app I have a UILabel which is the title and a UITextView which is the description and I want the title UILabel to be the first word typed into the UITextView. Does anyone know how to do this? ...

how text length of a UITextView can be fixed?

Hi all developer, I have a UITextView, user can write maximum 160 character in the textView. How can i fixed the maximum text length of a UITextView? ...

Multi-line TextField (similar to SMS) and / or 'Done' button in UITextView

Hi all, I've been researching this for a few days now, and would appreciate a little help. Is there any way to generate a multi-line UITextField like Apple use in the SMS application? The useful thing about this control is that it has the 'sunk' appearance that makes it clear that it is a text entry box, but at the same time, it expands...

Resize font size to fill UITextView?

How would I set the font size of text in a UITextView such that it fills the entire UITextView? I'd like the user to type in their text, then have the text fill the entire UITextView. Any help is appreciated! ...

Prepopulating UITextView with data?

I have a UIText View that I need to populate with a link that can be gained from currentItem.link. But I can't seem to work out how to populate the text view with the link. I'm assuming you have to load the view with some sort of IBAction? ...

saving text from uitextview to plist

for my application i am able to read the description of a place selected from the table row and display it in the uitextview. but what i needed to do next is able to save content edited by user in the uitextview to plist. need some guide because i had been searching for it but in vain..thanks ...

Custom UITextView

Hi guys! As posted throughout the web, the only way to display html content inside UITextView is by using a private API function setContentAsHTML, and if you use this function you won't get your application on AppStore. But there are several word editors which seem to be using UITextView or maybe a custom one made by themselves in their...

make bubble arround text in uitextview?

hi , everyone.. i am working on application which has the same user interface as Iphone Sms Application , i want to make a "To" text field to add multiple contacts from address book . problem is that , how can i make the blue bubble in text after selecting the contact from address book .. and also i want to make the msg text field wit...

iphone UITextView does not support data detectors when the text view is editable

I am getting an interesting warning at build time (iPhone simulator) that gives the following: EditView.xib:35:0 UITextView does not support data detectors when the text view is editable. This is basically non existent on google and I would like to remove it. My editview.xib has a textview where I write notes into it. Is there any mo...

How to make a UITextView Expand with the text like the Notes app

How can you make a UITextView expand with the text that is inside of it? ...

how to get touch event for uitextview

HI, Apple not providing touch events for UI-text View, im developing project includes notes, that can readable ,editable, can give color to selected text. for that i chosen UI-text View because it can readable as well as editable. to do some events on text of UI-text view need touch events ,but Apple not providing touch events for UI-te...

how to insert UIImage into UITextView

hi, im working on a editable notebook type project. it consists some text and images at any time. in UITextView if we add images as subview the frames are fixed. but i have editable option. so i must save image as NSString format in UITextView, but it should look image type in uipart. so please suggest me how can i handle this requier...

how to add text and images together

hi, im developing a notebook based application. it consists of notes and images also. im unable to find best way of coding to add images and text together. it is also editable, so im getting confused whether to take scroll-view or text view. is i taken scroll-view there is no editable option. if i take text view we can't change frames o...

UITextView highlightedTextColor or similar option?

I have a custom UITableViewCell with a UILabel and a UITextView in it. I want the text for both of these to appear white when the user highlights the UITableViewCell. It's obviously very simple to set the highlightedTextColor of the UILabel, but the UITextView doesn't seem to have any similar type of property. Am I going to have to man...

iPhone UITextView which is disabled becomes first responder when re-enabled

Hi, I have an application which has some text views on one of the controllers. When the application is processing these text views are disabled and have their user interaction disabled. The problem is that when the text views are re-enabled they respond to any touches made when they where disabled. This is made even worse because they...

How do I add a hyperlink in my app?

I've tried a number of methods: A UIWebView doesn't do the trick because I've got a textured background, and the UIWebView doesn't do transparent backgrounds. A UITextView - seems like a really good option. I've got it auto detecting my hyperlink, but it overrides my link colour with blue. :( I've looked at the Three20 code - this look...

Update text from UITextView to Plist

I have a TestData.plist stored in the resource folder and when the content is displayed in the textview i want it to be editable in a sense that user can edit and save the text on textview to the same TestData.plist file. what is the best way to do it?I am a total noob in iphone dev. Need help please.. ...

How to retract the Keyboard on touching the UITextView when keyboard is already up?

Hi All, I am writing an application that has a UITextView which allows editing. When a user first touches UITextView, a keyboard shows up and I want to retract that keyboard when user again touches the UITextView e.g. I have entered some data in a textview and with keyboard still showing on the screen I tap on the UITextView which should...

Autoresize UITextView and UIScrollView

Hello guys, I already did several searches on Stack Overflow and Google, but I couldn't find a solution to my problem. I have a Detail View for a product that includes a UIScrollView and a few subviews (UIImageView, UILabel, UITextView). You can find an example here. First I wanna autoresize the UITextView (not the text itself!) to the...

Getting size of the text in a UITextView

Hi, I'm trying to use a UIScrollView as a UITextView, except it will have a logo at the top (thus I can not use UITextView directly). In other words; I will have a UIScrollView with a UIImage and a UITextView in it. The content for the textView is localized and liable to change, so I can not hardcode the height of it. Is there any way ...