IOS automatic rolling

How does IOS automation achieve rolling elements into visible areas?