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

xcode9.3 the button click event can not called #18

Open
xiaomiwang opened this issue Apr 23, 2018 · 3 comments
Open

xcode9.3 the button click event can not called #18

xiaomiwang opened this issue Apr 23, 2018 · 3 comments

Comments

@xiaomiwang
Copy link

xiaomiwang commented Apr 23, 2018

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
Copy link
Contributor

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

@AndroidGecko
Copy link

AndroidGecko commented Jan 31, 2019

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
Copy link

@hongxinhope ok nevermind :) forgot to init with frame

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