casperzandbergenyaacomm
casperzandbergenyaacomm
I have the same problem but I got a bit closer using: > .resizableImage(withCapInsets: UIEdgeInsets(top: 1, left: 0, bottom: 0, right: 0)) This makes the positioning correct but adds padding...
@SureshChary I have the same as you and it works for me, are you sure the tabHeight is tabBar.frame.height? My code for the bar in the image. ``` let numberOfItems...
@SureshChary You need to call that code in the viewDidLayoutSubviews (after the height sizing for iPhone X)
I would actually advise against using a background color on your tab bar buttons nowadays, they look off on the current generation of iPhones. A selected icon and unselected icon...
This is the main reason my company stays away from topics on the client side. I'd love to see an update on this!
I think the problem is that you called `setNeedsReload()` from a background thread.
insetVisibleFrame doesn't seem to do anything on the layout of a ComposedProvider, ~~to fix your issue set the insetVisibleFrame on the videoProvider and webViewProvider.~~ Edit: I just tested it and...
Ok so I did some testing with ComposedProvider and found the bug. In `FlattenedProvider.visibleIndexes(visibleFrame:)` the visible frame inset of the layout is not taken into account. A hacky fix for...
A better fix would be if the layout either returned the visibleFrame with the indexes or accepts the visibleFrame as inout so that it can change it and you can...
Different visible insets per section adds a lot of flexibility, for example a provider with shadowed cells needs a visible inset but not every other section in the collection view....