开发者

Scroll Indicators Visibility

开发者 https://www.devze.com 2023-03-25 10:37 出处:网络
Is there any way to make scroll indicators visible throughout the whole application ?[Scroll Indicators are visible only when I touch the scro开发者_运维问答ll view area.]

Is there any way to make scroll indicators visible throughout the whole application ?[Scroll Indicators are visible only when I touch the scro开发者_运维问答ll view area.]

Regards


You can set a timer and call

[NSTimer timerWithTimeInterval:.1 target:self selector:@selector(flashScrollIndicators) userInfo:nil repeats:YES]; 

http://developer.apple.com/library/ios/#documentation/uikit/reference/UIScrollView_Class/Reference/UIScrollView.html

Or manually call

- (void)flashScrollIndicators;


You can make them flash but that's it. You can't force an "always visible" state. Unless you code your own scrollbars entirely, just mimicking the look of the default ones.


You shouldn't: this go against the interface guideline. You can flash though the indicators as it has been already mentioned by other here with the : - (void)flashScrollIndicators;.

0

精彩评论

暂无评论...
验证码 换一张
取 消