both The receiver is able to scroll both horizontally and vertically. Declarationstatic let both: CAScrollLayerScrollMode See AlsoConstantsnoneverticallyhorizontally