Skip to content

最简单的方式为UITableView添加empty view | Ever Notes #2

Description

@utterances-bot

最简单的方式为UITableView添加empty view | Ever Notes

在 UITableView 或 UICollectionView 列表数据为空时,我们一般会显示一些提示信息,姑且称它为 Empty View,这已经是很通用的做法了,但其实并没有通用的实现方式,至少 Apple 没有提供。在以前的项目中,我都是使用DZNEmptyDataSet,功能很强大也比较容易集成,但毕竟是需要引入了

https://15tar.com/ios/2018/06/30/empty-view-of-uitableview.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions