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];
}

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

上一篇 下一篇

猜你喜欢

热点阅读