Open sumitaggarwal23021999 opened 3 months ago
Hi! You can archive this by subclassing PagingView
and overriding the setupConstraints
method to position the menu (self.collectionView
) the way you prefer. You could also apply borders on the collection view here. Here's a similar example: https://github.com/rechsteiner/Parchment/blob/main/Example/Examples/Images/UnsplashViewController.swift#L24. Does that work for you?
I want to add border to all four sides of menu view, also there I want to have some margin from left and right, can anyone help how I can do that.
Thanks