i created a UIView* myView and then i created a UITextVIew *tempUITextView and set its text as
[tempUITextView setText:@"some text"];
[myView addSubView: tempUITextView];
when i run the code, it gives an error: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIView setText:]: