---
title: "swipeUp(velocity:)"
framework: xcuiautomation
role: symbol
role_heading: Instance Method
path: "xcuiautomation/xcuielement/swipeup(velocity:)"
---

# swipeUp(velocity:)

Sends a swipe-up gesture with a velocity you specify.

## Declaration

```swift
func swipeUp(velocity: XCUIGestureVelocity)
```

## Parameters

- `velocity`: The speed at which to perform the swipe-up gesture, expressed in pixels per second.

## See Also

### Performing gestures

- [swipeLeft()](xcuiautomation/xcuielement/swipeleft().md)
- [swipeLeft(velocity:)](xcuiautomation/xcuielement/swipeleft(velocity:).md)
- [swipeRight()](xcuiautomation/xcuielement/swiperight().md)
- [swipeRight(velocity:)](xcuiautomation/xcuielement/swiperight(velocity:).md)
- [swipeUp()](xcuiautomation/xcuielement/swipeup().md)
- [swipeDown()](xcuiautomation/xcuielement/swipedown().md)
- [swipeDown(velocity:)](xcuiautomation/xcuielement/swipedown(velocity:).md)
- [pinch(withScale:velocity:)](xcuiautomation/xcuielement/pinch(withscale:velocity:).md)
- [rotate(_:withVelocity:)](xcuiautomation/xcuielement/rotate(_:withvelocity:).md)
- [XCUIGestureVelocity](xcuiautomation/xcuigesturevelocity.md)
