• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UITextView textViewDidBeginEditing issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UITextView textViewDidBeginEditing issue


  • Subject: UITextView textViewDidBeginEditing issue
  • From: Bob Sabiston <email@hidden>
  • Date: Wed, 19 Nov 2008 10:27:26 -0600

Hi,

I've got a UITextView and I am trying to add a "save" button to the top bar when the user clicks it to start editing. The UIView which contains the textview is a delegate for the TextView, so I have a textViewDidBeginEditing function something like this:


- (void)textViewDidBeginEditing:(UITextView *)textView { [uisettings setRightBarButtonItem:savebutton animated:YES]; }


Theoretically when the user clicks in the text view to start editing, my button would be added to the top bar. This does work, but not always. I find that if I click quickly on the textview then it works, but that if I press and hold down (this is on an iphone), the little text-magnifying glass pops up and my function never gets called.


I don't mind the glass popping up but how can I ensure that textViewDidBeginEditing always gets called? Otherwise I have no way out of the text editing once it is begun.

Thanks
Bob


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: RE: OpenGL + NSTextView/NSTextContainer?
  • Next by Date: Re: OpenGL + NSTextView/NSTextContainer?
  • Previous by thread: -(BOOL)handleEvent:(NSEvent*)event client:(id)sender doesn't work
  • Next by thread: Info request on developing codec
  • Index(es):
    • Date
    • Thread