Forum Discussion

rani_m215's avatar
rani_m215
Occasional Contributor
11 years ago

iOS: Handling pull down to refresh gesture

We have a pull down to refresh in one of the scenes. I would like to automate that gesture in TC but I couldn't find the correct method to use. Can someone help me on how to pull the screen down using the vbscript.
  • rani_m215's avatar
    rani_m215
    Occasional Contributor
    Never mind, I have a work around script. But it would be nice if we can have a separate method for this gesture.


    Sub PullDownToRefresh



    Call Process.Window.TableView.Refresh



    Call Process.Window.TableView.ScrollToItem(0, 0)



    Call Process.Window.Drag(10, 100, 10, 400, 1000)



    End Sub