DBProfileViewController icon indicating copy to clipboard operation
DBProfileViewController copied to clipboard

Bottom empty space when using collection view

Open Jackson0111 opened this issue 9 years ago • 1 comments

This has been brought up before in issue #2 but setting bottom contentInset to 0 doesn't solve the problem. Somehow it disables scroll too. I've been spending lots of time trying to solve this issue but couldn't find a solution. Any idea how this could be avoided?

Jackson0111 avatar Jun 15 '16 03:06 Jackson0111

It's been too long, but...

I have tried swizzling around with this pod and figured out that commenting out a line would do the magic... If you go over to the DBProfileViewController.m and look into the -updateContentInsetForScrollView: method, you will find a conditional statement that sets contentInset's bottom property. Comment that out and the issue will be resolved.

Ashenyx avatar Aug 02 '16 03:08 Ashenyx