解决方案 »

  1.   

    不知道我理解的静态 tableView 跟你理解的一不一样你只要自定义数据,在
       -(UITableViewCell *) tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
    这个方法里实现就可以了。如果不是的话,你可以把你的问题再讲详细点
      

  2.   

    代码创建不了,这是Storyboard的功能
      

  3.   

    所谓的静态就是指不通过代码的方式来创建,主要是通过storyboard可视化配置。
      

  4.   

    什么叫静态tableview?    m_tableMedia = [[UITableView alloc] initWithFrame:self.view.frame];
        [self.view addSubview:m_tableMedia];
        m_tableMedia.delegate = self;
        m_tableMedia.dataSource = self;代码所在类实现UITableViewDelegate,UITableViewDataSource。 -(UITableViewCell *) tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
    这个方法里实现数据的加载-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
    这个方法里面返回数据的条目总数。