Possible Duplicate:
Is there a way to hide the scroll indicators in an UIScrollView?
I am using the UIScrollview in my project.
In this I don't want scroll bar. I want it to hide or remove from the UIScrollview.
Any help will be appreciated.
Possible Duplicate:
Is there a way to hide the scroll indicators in an UIScrollView?
I am using the UIScrollview in my project.
In this I don't want scroll bar. I want it to hide or remove from the UIScrollview.
Any help will be appreciated.
Use
[scrollview setShowsHorizontalScrollIndicator:NO];
[scrollview setShowsVerticalScrollIndicator:NO];
Swift
scrollView.showsHorizontalScrollIndicator = false
scrollView.showsVerticalScrollIndicator = false
You need to set following properties for UIScrollView to NO
.
1) setShowsHorizontalScrollIndicator:
2) setShowsVerticalScrollIndicator:
[myScrollView setShowsHorizontalScrollIndicator:NO];
[myScrollView setShowsVerticalScrollIndicator:NO];
Hope this helps you.