teambition/TBEmptyDataSet

xcode9.3 the button click event can not called

xiaomiwang opened this issue · 3 comments

Hi,guy
I find a problem.When I add a button on the custom uitableviewcell, the touch up inside event can not be called. After removing the TBEmptyDataSet from the tableview, the event can be called.

@xiaomiwang I can't reproduce this issue. Do you have any demo?

Hey @hongxinhope
not sure if this is what the OP meant but it seems that if you have a button inside a custom view

func customViewForEmptyDataSet(in scrollView: UIScrollView) -> UIView? {
        return SomeCustomView()
    }

the button is not clickable

@hongxinhope ok nevermind :) forgot to init with frame