I am creating a swiping controller from collection views in my app, but one problem I am having is I am not able to get rid of the thin rectangle that appears whenever I swipe from one collection view cell to the next. The rectangle I am talking about also appears whenever you are scrolling in a scrollview. I am not sure what the proper terminology for this is however I would really appreciate it if someone could help me understand how to get rid of this.
Asked
Active
Viewed 199 times
2 Answers
0
Have you tried:
myCollectionView.showsHorizontalScrollIndicator = false
myCollectionView.showsVerticalScrollIndicator = false
Those properties are inherited of UIScrollView

Zaphod
- 6,758
- 3
- 40
- 60
0
if you are using StoryBoard uncheck Show Horizantal Indicator
and Show Vertical Indicator
And in code you can do
scrollView.showsHorizontalScrollIndicator = false
scrollView.showsVerticalScrollIndicator = false

Jawad Ali
- 13,556
- 3
- 32
- 49
-
please upvote if it resolves the issue :) – Jawad Ali Jul 09 '20 at 11:44