iOS Developer Library

Developer

iOS 7 Design Resources UIKit User Interface Catalog

Download PDF

Scroll View

Scroll View Attributes Inspector Reference

image: ../Art/uiscrollview_attributes_inspector.pdf

Appearance

image: ../Art/uiscrollview_attributes_inspector_group-appearance.pdf

Style

The appearance of the scroll view scroll indicators.

Scroll Indicators and Scrolling

image: ../Art/uiscrollview_attributes_inspector_group-scrollers_scrolling.pdf

Scrolling Enabled

Whether the user can scroll the scroll view contents.

When scrolling is enabled the user can scroll the scroll view contents.

Selection

Method

Argument

image: ../Art/user_interface_checkbox-unselected.pdf Unselected

scrollEnabled

NO

image: ../Art/user_interface_checkbox-selected.pdf Selected

scrollEnabled

YES

Paging Enabled

Whether the scroll view stops at regular intervals as the user scrolls.

When paging is enabled the scroll view stops on multiples of the scroll view bounds as the user scrolls.

Selection

Method

Argument

image: ../Art/user_interface_checkbox-unselected.pdf Unselected

pagingEnabled

NO

image: ../Art/user_interface_checkbox-selected.pdf Selected

pagingEnabled

YES

Direction Lock Enabled

Whether the user can scroll in only one cardinal direction at a time.

When direction lock is enabled the user can scroll in only one cardinal direction at a time, vertically or horizontally, except when the user scrolls diagonally.

Selection

Method

Argument

image: ../Art/user_interface_checkbox-unselected.pdf Unselected

directionalLockEnabled

NO

image: ../Art/user_interface_checkbox-selected.pdf Selected

directionalLockEnabled

YES

Scrollers

Shows Horizontal Scrollers

Whether the scroll view horizontal scroll indicator is visible.

Selection

Method

Argument

image: ../Art/user_interface_checkbox-unselected.pdf Unselected

showsHorizontalScrollIndicator

NO

image: ../Art/user_interface_checkbox-selected.pdf Selected

showsHorizontalScrollIndicator

YES

Shows Vertical Scrollers

Whether the scroll view vertical scroll indicator is visible.

Selection

Method

Argument

image: ../Art/user_interface_checkbox-unselected.pdf Unselected

showsVerticalScrollIndicator

NO

image: ../Art/user_interface_checkbox-selected.pdf Selected

showsVerticalScrollIndicator

YES

Scroll Bounce

image: ../Art/uiscrollview_attributes_inspector_group-scrollbounce.pdf

Bounce

Bounces

Whether the scroll view bounces when the user scrolls past a content edge.

Selection

Method

Argument

image: ../Art/user_interface_checkbox-unselected.pdf Unselected

bounces

NO

image: ../Art/user_interface_checkbox-selected.pdf Selected

bounces

YES

Bounce Horizontally

Whether the scroll view bounces when the user scrolls past a horizontal content edge.

When horizontal bouncing is allowed, the scroll view lets the user scroll horizontally even when the scroll view content does not fill the scroll view bounds horizontally.

Selection

Method

Argument

image: ../Art/user_interface_checkbox-unselected.pdf Unselected

alwaysBounceHorizontal

NO

image: ../Art/user_interface_checkbox-selected.pdf Selected

alwaysBounceHorizontal

YES

Bounce Vertically

Whether the scroll view bounces when the user scrolls past a vertical content edge.

When vertical bouncing is allowed, the scroll view lets the user scroll vertically even when the scroll view content does not fill the scroll view bounds vertically.

Selection

Method

Argument

image: ../Art/user_interface_checkbox-unselected.pdf Unselected

alwaysBounceVertical

NO

image: ../Art/user_interface_checkbox-selected.pdf Selected

alwaysBounceVertical

YES

Zooming

image: ../Art/uiscrollview_attributes_inspector_group-zooming.pdf

Zoom

Min

The minimum zoom scale factor the user can apply to the scroll view content.

Access: minimumZoomScale.

Max

The maximum zoom scale factor the user can apply to the scroll view content.

Access: maximumZoomScale.

Events and Zoom Bounce

image: ../Art/uiscrollview_attributes_inspector_group-events_zoombounce.pdf

Touch

Bounces Zoom

Whether the scroll view bounces when the user zooms past the scroll view minimum or maximum zoom scale factors.

Selection

Method

Argument

image: ../Art/user_interface_checkbox-unselected.pdf Unselected

bouncesZoom

NO

image: ../Art/user_interface_checkbox-selected.pdf Selected

bouncesZoom

YES

Delays Content Touches

Whether the scroll view delays the handling of every touch event to determine whether the event is a scrolling event.

Selection

Method

Argument

image: ../Art/user_interface_checkbox-unselected.pdf Unselected

delaysContentTouches

NO

image: ../Art/user_interface_checkbox-selected.pdf Selected

delaysContentTouches

YES

Cancellable Content Touches

Whether the scroll view can convert a touch event into a scroll event to reflect user intent.

When content touches are cancellable, the view can cancel the handling of a touch event and initiate a scroll event when the user drags.

Selection

Method

Argument

image: ../Art/user_interface_checkbox-unselected.pdf Unselected

canCancelContentTouches

NO

image: ../Art/user_interface_checkbox-selected.pdf Selected

canCancelContentTouches

YES