Class

iAP.GalleryView

The iAP.GalleryView class combines a paged scroll view with a paging control to provide a convenient way to view a series of images. The gallery view contains several cells in a sequence. Users flick the cells or tap the page dots to view the contents of each cell in turn. Users can also tap the current cell to view a minimized or full-size version of the content.

Overview

This class implements the iAd.CellContainer protocol.

Symbols

Creating Gallery Views

iAP.GalleryView

Creates and returns a gallery view.

Handling Data

reloadData

Notifies the view that there is new data to be drawn. This method will clear any existing content in the view and trigger the relevant iAd.CellContainerDataSource methods.

Changing the Appearance

orientation

The orientation of pages.

scaleFactor

The scaling factor for cells that are not in focus.

cellLength

The size of the cell.

pageControlColor

The color of the paging controls.

pageControlOffset

The distance between the page dots and the edge of the gallery view.

pageControlPadding

The padding around each dot of the page control.

pageControlPosition

The position of the page control.

pageControlVisible

A Boolean value controlling the visibility of paging controls.

Constants

Page Control Positions

The position of the page control relative to its pages.

Page Orientation

The orientation of the gallery view.

Relationships

Inherits From