xcode9.3 the button click event can not called
xiaomiwang opened this issue · 3 comments
xiaomiwang commented
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.
hongxinhope commented
@xiaomiwang I can't reproduce this issue. Do you have any demo?
AndroidGecko commented
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
AndroidGecko commented
@hongxinhope ok nevermind :) forgot to init with frame