textView页面出现时键盘弹出

#pragma mark  视图已经出现弹出键盘
- (void)viewDidAppear:(BOOL)animated{
    [super viewDidAppear:animated];

    NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
    NAPublishWriteContentTableViewCell *cell = [_tableView cellForRowAtIndexPath:indexPath];
    [cell.textView becomeFirstResponder];
}

感谢http://www.mamicode.com/info-detail-657305.html

你可能感兴趣的:(textView页面出现时键盘弹出)