run(with:inMode:options:)
Runs a slideshow that contains the specified kind of items, provided from a data source.
Declaration
func run(with dataSource: (any IKSlideshowDataSource)!, inMode slideshowMode: String!, options slideshowOptions: [AnyHashable : Any]! = [:])Parameters
- dataSource:
The data source to use for the slideshow.
- slideshowMode:
A constant that indicate what kind of items are in the slideshow—
IKSlideshowModeImages,IKSlideshowModePDF, orIKSlideshowModeQuickLook. See Slideshow Modes. - slideshowOptions:
A dictionary of slideshow options. See Slideshow Option Keys.