RNFrostedSidebar
RNFrostedSidebar copied to clipboard
Customize the spacing of the images in sidebar
How can I customize the spacing of the images in sidebar? I use your control in my project, it's awesome. But I just got four images in sidebar, then I found that there were a space at the bottom of the sidebar.
In RNFrostedSidebar.m find the function:
- (void) layoutItems
As the second line you will hopefully find: CGFloat topPadding = leftPadding;
Change this value to whatever you want.