Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to flash/blink scroll indicators in UIScrollView?

Tags:

ios

How can i flash/blink the scroll indicators in an UIScrollView for a discrete moment?

like image 998
Gowtham Avatar asked Jul 23 '12 09:07

Gowtham


People also ask

What is Flashscrollindicators?

showsHorizontalScrollIndicator. A Boolean value that controls whether the horizontal scroll indicator is visible.

What is ScrollView in Swift?

The scroll view displays its content within the scrollable content region. As the user performs platform-appropriate scroll gestures, the scroll view adjusts what portion of the underlying content is visible. ScrollView can scroll horizontally, vertically, or both, but does not provide zooming functionality.


1 Answers

Use this method in UIScrollView:

- (void)flashScrollIndicators

Swift 5

scrollView.flashScrollIndicators()
like image 139
iSofTom Avatar answered Oct 13 '22 20:10

iSofTom