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
Action button is not visible, but tapping on the white space is printing logs. #19
Comments
Hi @junweimah, the background color of the action button, by default, is the tintColor of the TableView, just change it. Or if you would like to customize it you can use |
How do I use PlaceholderStyle? In other question, you guided me to this code :
Now in let What do I need to do to change the text and background color of the action button? |
So to customize the style you can do like that :
|
Wow. it works! Thanks For the action button tap function
Why is this not printed out? Only "Placeholder action button tapped" bring printed out, and that can be traced back to
|
You are welcome :)
|
My vc actually have this right now
However this is not printed out |
Hi @junweimah, I think you missed to set the placeholderDelegate to self: |
WOW. Thanks. It works! Thank you so much. Best git library owner ever. Answered all my questions. Fast reply. Good job |
My pleasure, thank you for your contribution and for your kind words :) |
Hi,
I played around the example project and found that the placeholder has a button "try again", and user can tap that.
However in my project, there is no action button, but I can tap on the white space below the subtitle and the log is printing "Placeholder action button tapped"
How and where do I set the action button to visible?
Thanks
The text was updated successfully, but these errors were encountered: