corin8823 / Popover

Popover is a balloon library like Facebook app. It is written in pure swift.
MIT License
2.11k stars 327 forks source link

When tableView is larger than popoverView #140

Open sseno opened 3 years ago

sseno commented 3 years ago

https://user-images.githubusercontent.com/29369132/112786462-7e0e1d80-9080-11eb-8b9e-ba53bf826266.mov

cell.backgroundColor = .clear https://user-images.githubusercontent.com/29369132/112787129-10fb8780-9082-11eb-802f-8d14a4d16d91.mov

how to fix the bottom inset of uitableview to fit popover?

Thanks.

ChandlerBinGuo commented 3 years ago

you can use tableView.contentInset = UIEdgeInsets(top: 10.5, left: 0, bottom: 0, right: 0); to fix it.