Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nothing displayed when number or rows == 0 #21

Open
lumo2707 opened this issue Sep 9, 2019 · 2 comments
Open

Nothing displayed when number or rows == 0 #21

lumo2707 opened this issue Sep 9, 2019 · 2 comments

Comments

@lumo2707
Copy link

lumo2707 commented Sep 9, 2019

Hi,

my problem is, that the tableview does not show the empty view.
In the UI debugger i got the following information:

"height and vertical position are ambiguous for UIView"

This info is for the UIView of the EmptyKit.EmptyView.

In a another TableView everything works as expected.

@OneTwoThree2015
Copy link

me too,But I found the reason

public func imageForEmpty(in view: UIView) -> UIImage? {

        return UIImage(named: imgStr)
   }

If the object returned is nil,Will happen;

@ZionChang
Copy link
Owner

Please show me the main code @lumo2707

Repository owner deleted a comment Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants