Text

Controlling autoscroll speed in IOS

Is it possible to change the autoscroll speed in the muti-line text widget in IOS. This would be a very handy feature as the default is quite slow. Thanks

1 Comment

Alex, it is not possible to set the autoscroll speed, but you can customize autoscroll events different ways.
– scrollWordToTop: Moves the scrolled position of the widget around the given word, so that it is at the top of the widget.
– scrollWordToCenter: Moves the scrolled position of the widget around the given word, so that it is centered inside the widget.
– autoScrollRatio: Sets the auto scroll ratio. This is the ratio of the widget height that needs to be filled with text before the widget scrolls down. The default value is 0.6.

Or you can use the MLTWMultiLineViewDelegate API:
Monitoring scroll event
– multiLineViewAutoScrollWillBegin:
– multiLineView:autoScrollDidMove:
– multiLineViewAutoScrollDidEnd:
– multiLineViewScrollWillBegin:
– multiLineView:scrollDidMove:
– multiLineViewScrollDidEnd:
Best regards

Login or Signup to post a comment