EmptyKit
EmptyKit copied to clipboard
Nothing displayed when number or rows == 0
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.
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;
Please show me the main code @lumo2707