How to scroll down exactly on IOS?

Hi Team,

Is there any functionality in appium through which we can immediately scroll down directly at bottom on IOS screen or at top directly?

Currently I am using below code but looking for something which can perform direct top/down scroll. If there is anything please let me know.

 await driver.touchPerform([
            {
                action: 'press',
                options: {
                    x: startXPosition,
                    y: startYPosition,
                },
            },
            {
                action: 'wait',
                options: {
                    ms: 100,
                },
            },
            {
                action: 'moveTo',
                options: {
                    x: moveToXPosition,
                    y: moveToYPosition,
                },
            },
            {
                action: 'release',
                options: {},
            },
        ]);