//解决键盘遮盖输入框
    CGRect frameVC = CGRectMake(0, 64, self.view.hm_width, self.view.hm_height-64);
    UITableViewController* tvc=[[UITableViewController alloc] initWithStyle:UITableViewStylePlain];
    [self addChildViewController:tvc];
    [tvc.view setFrame:frameVC];
    _tableView=tvc.tableView;
    _tableView.separatorStyle = UITableViewCellSeparatorStyleSingleLine;
  [self.view addSubView:_tableView];

相关文章:

  • 2022-12-23
  • 2021-09-24
  • 2021-09-30
  • 2022-12-23
  • 2021-05-21
  • 2022-12-23
  • 2021-07-17
  • 2022-12-23
猜你喜欢
  • 2021-05-24
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案