Edytuj

Udostępnij za pośrednictwem


UITableViewRowAnimation Enum

Definition

An enumeration of animations used when rows are inserted or deleted from a table view.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UITableViewRowAnimation
type UITableViewRowAnimation = 
Inheritance
UITableViewRowAnimation
Attributes

Fields

Name Value Description
Fade 0

Affected rows fade in/out of view.

Right 1

Inserted row/s slide in from the right, deleted row/s slide out to the right.

Left 2

Inserted row/s slide in from the left, deleted row/s slide out to the left.

Top 3

Inserted row/s slide down from the top, deleted row/s slide up.

Bottom 4

Inserted row/s slide up from the bottom, deleted row/s slide down.

None 5

There is no animation when cells are added or removed. The cell appears immediately, as if the table view had been reloaded.

Middle 6

The table view tries to keep the location of affected cells centered in the table view.

Automatic 100

Allows the table view to choose an appropriate animation.

Applies to