Closed arpitjain03 closed 6 years ago
I have workaround -- add a blank cell to the end of the table
It will show empty cell then
On Sat, 4 Nov 2017 at 9:50 PM, David DelMonte notifications@github.com wrote:
I have workaround -- add a blank cell to the end of the table
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Hassan-Aftab/HADropDown/issues/8#issuecomment-341909613, or mute the thread https://github.com/notifications/unsubscribe-auth/AdLM6mKefaRr-2iAXmnbigUj5apLysj6ks5szI7fgaJpZM4QPO29 .
@arpitjain03 @daviddelmonte you can resolve this problem by implementing heightForFooterInSection method. actually, it is taking default height of footer so when we press on the last cell we are actually pressing on the footer. so give height 0 to the footer.
func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat { return 0.0 }
Thanks @Sahilberi It worked for me
Brilliant. Thanks!
Please help in resolving this issue