Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

erritikamathur

macrumors newbie
Original poster
Sep 23, 2009
8
0
Code:
addNotesMenu = [[UIActionSheet alloc] initWithTitle:@"Add notes"
													  delegate:self
											 cancelButtonTitle:nil
										destructiveButtonTitle:nil
											 otherButtonTitles:nil,nil];
	
	
	
	addNotesTxtView		= [[UITextView alloc] initWithFrame:CGRectMake(10, 50, 300, 300)];
	
	addNotesTxtView.delegate			= self;
	addNotesTxtView.editable			= YES;
	addNotesTxtView.userInteractionEnabled=YES;
	
	addNotesTxtView.textColor			= [UIColor blackColor];
	
	addNotesTxtView.font				= [UIFont fontWithName:@"Georgia" size:18.0];
	
	
	
	[addNotesMenu addSubview:addNotesTxtView];

i have a UIActionsheet in which UItextview is added
i have set editable property of uitextview to YES.
But still i can't type anything in uitextview.
textViewDidBeginEditing delegate is called but textViewDidEndEditing isn't called & i cant see the any character typed in uitextview..

I have also add some buttons to actionsheet they are responding as they use to.wht i am missing ?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.