UITextView inside UIScrollView is not First Responder

Posted by Sheehan Alam on Stack Overflow See other posts from Stack Overflow or by Sheehan Alam
Published on 2010-05-18T16:42:25Z Indexed on 2010/05/18 19:10 UTC
Read the original article Hit count: 461

I have a UITextView on a View that becomes the first responder.

When I embed the UITextView inside of a UIScrollView in Interface Builder the UITextView is no longer the first responder. I am not sure what has changed?

- (void)viewDidLoad {
    [super viewDidLoad];
    [scrollView setContentSize:CGSizeMake(540,620)];
    composeTextView.delegate = self;    
    [composeTextView becomeFirstResponder];
}

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about cocoa-touch