textView页面出现时键盘弹出
2016-10-10 本文已影响67人
NateLam
#pragma mark 视图已经出现弹出键盘
- (void)viewDidAppear:(BOOL)animated{
[super viewDidAppear:animated];
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
NAPublishWriteContentTableViewCell *cell = [_tableView cellForRowAtIndexPath:indexPath];
[cell.textView becomeFirstResponder];
}