I've subclassed an UITextField and inside that, I need to know if the text field is in editing mode or not. When editing mode changes from YES/NO I need to get notified somehow. I tried to overwrite the setter of the editing property, but that doesn't seem to work. Is there anything else?
...
I am looking for a way to add extra keys to a UITextView's keyboard or add a UIToolbar above it.
How might I go about this?
EDIT
This is for an iPad app and if I was to add extra keys I would need a new row for them in the UIKeyboard.
...
Hi
I am making an iPad app, it currently has multiple UITableViews named like so:
monTable, tueTable, wedTable etc...
I would like to have a UITextView which is editable. Then any text when the user leaves the text view it saves the chunk of text and is linked to the cell selected in the table. So when that cell is reselected the text...
Hi , i have UITExtView with (511 , 369 , 571 , 519) context , so my keyboard popups on UITextView and filled some space on the screen , when users type some notes , the UITExtView
text moves under the keyboard , i was wondering how should implement specific context for textView to begin scroll down . i use this code but doesn't work ...
Total Objective-C / Cocoa Touch noob here, beware.
I'm trying to intercept when a user long presses on a UITextView (a magnifying glass then appears with the caret positioner) and then releases the touch, i.e. when normally the "Select" and "Select All" Options appear, after the magnifying glass. I want to replace this with my own custo...
How to implement the move leftward like pressing the left button on the physical keyboard in iPad?
I can get the current cursor position, but I need to figure out a way to calculate the width of the current character and subtract that from the current x position.
Is there anyway to calculate the width of the current character? Thanks!...
Hi, I would like to ignore all case sensitivity to be ignored for my UITextField and UITextView. I would also like to know how to detect if the string is upperCase or lowerCase. Thanks.
...
Hi,
I have one line of text that is too long to be displayed in one single line in a UILabel, so I switched to a UITextView. I wanted to display that text still in one line, and be able to scroll horizontally, but instead, the UITextView will wrap the text into multiple lines, and allow me to scroll vertically. So, for the text "This is...
I have a button that inserts a character into a UITextView. I want this button to behave as the spacebar button does; I want the pending autocorrect suggestion to be accepted upon pressing it.
Can this be done? If so, how? Thanks!
...
I'm developing a simple writing app for iPad.
I'm trying to compute the pixel-position of the cursor in UITextView. I spend a few weeks to design this, but I still couldn't figure out to do it.
In stackoverflow, Tony wrote one good algorithm to find the pixel-position of the cursor.
http://stackoverflow.com/questions/2633379/pixel-pos...
Hi, I'm trying to set up a CTFrame that exactly matches my UITextView's text format in iPad.
First of all, I converted UITextView's text to an attributed string. Then I set up a width and a height of drawing box in which Core Text will draw text.
I succeeded to draw text using Core Text, but UITextView and Core Text show slightly differe...
I have view a that has a table cell and a save button.
If I touch the table cell, a new navigation view slides in (view b). In the view b, I have one UITextView where I type all the context I need save. And of course there is 'back' button on the top left side of the 'view b'.
'view a' has a save button, it wants save content of the t...
I am trying to replace the Standard Keyboard on the iPhone with a custom one which I have created in MainKeyboard.xib, which is linked to the UIView outlet mainKeyboard. I have the following code that executes when the main view loads, and I have also tried triggering it with a UIButton for testing purposes.
[[NSBundle mainBundle] loadN...
I have a UITextView that I would like to change the auto capitalization type to words for just the first line of the text and reset it to sentences for every other line. What's the best way to do this?
My initial thought is that I can calculate the average maximum number of letters that would fit on a line and recalculate that once any ...
It should:
Expand vertically whenever new lines are added with the return key.
Wrap long lines and expand vertically for wrapped lines as needed too.
Have a nice pretty border just like UITextField.
Support placeholder text just like UITextField.
Support friendly actions like UITextField.
...
I am having a UiTextView in That I want to Justified the text can anyone help me to do that
...
I have a transparent view sitting on top of a UITextView which is responsible for allowing the user to drag images around. However, if the user isn't touching an image, I'd like to pass the touch events to the UITextView so the user can bring the keyboard up, type, copy, etc. just as if there wasn't a view on top of it. How is this accom...
I am trying to make my editable UITextView resign the keyboard (resignFirstResponder) when the user taps "Done." Using a UITextField, I have been able to do this with the following code:
- (IBAction)doneEditing:(id)sender {
[sender resignFirstResponder];
}
... and then to attach it to the relevant UITextField in Interface Builder ...
Hi All,
I have an UITextView and Some UiSlider On A View. The Sliders Work Well When The View Loaded.
The Problem Is They Become Very Less/Slow Sensitive After The cycle,
[UITextView becomeFirstResponder];
.
.
[UITextView resignFirstResponder];
Why is This Happening?
Any Solution?
...
Hi Guys!
I'm having a problem : i can' find a way to save properly my UITextView in a NSString.
I have created 4 UITextViews and i want them to be saved in the same file.
Heres the code :
-(void)destinataireTextView {
self.destiView = [[[UITextView alloc] initWithFrame:CGRectMake(200, 160, 150, 120)] autorelease];
[self.view a...