search

Home  >  Q&A  >  body text

ios - 一个控制器可以是一个tableview和collectionview的数据缘和代理吗?

如题 我这样写了 但是显示加载不到collectioncell

大家讲道理大家讲道理2893 days ago261

reply all(3)I'll reply

  • 高洛峰

    高洛峰2017-04-18 09:18:26

    It’s okay.
    Collectioncell cannot be loaded. It should be that your collectionview is useless. It is recommended to search for relevant information and check it

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 09:18:26

    No problem at all

    reply
    0
  • ringa_lee

    ringa_lee2017-04-18 09:18:26

    There is no interference between dataSource and delegate. When tableView needs data, it calls the corresponding method of its own dataSource to obtain the cell. Whether the other party implements the collectionview proxy has nothing to do with it. There should be something wrong with your collectionView method

    reply
    0
  • Cancelreply