EmptyKit icon indicating copy to clipboard operation
EmptyKit copied to clipboard

Nothing displayed when number or rows == 0

Open lumo2707 opened this issue 5 years ago • 2 comments

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.

lumo2707 avatar Sep 09 '19 18:09 lumo2707

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;

OneTwoThree2015 avatar Nov 15 '19 05:11 OneTwoThree2015

Please show me the main code @lumo2707

ZionChang avatar Nov 18 '19 06:11 ZionChang